mirror of
https://github.com/skidoodle/iphistory.git
synced 2026-04-29 00:07:35 +02:00
v2
This commit is contained in:
+2
-1
@@ -1,12 +1,13 @@
|
||||
FROM golang:alpine as builder
|
||||
WORKDIR /build
|
||||
RUN go install github.com/a-h/templ/cmd/templ@latest
|
||||
COPY . .
|
||||
RUN templ generate
|
||||
RUN go build -o iphistory .
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add ca-certificates
|
||||
WORKDIR /app/
|
||||
COPY --from=builder /build/iphistory .
|
||||
COPY --from=builder /build/web ./web
|
||||
EXPOSE 8080
|
||||
CMD ["./iphistory"]
|
||||
|
||||
Reference in New Issue
Block a user