This commit is contained in:
lif
2026-04-21 08:44:39 +01:00
commit 4256050bc2
5 changed files with 40 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM golang:alpine3.22 AS prep-image
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o /logfly
FROM scratch
COPY --from=prep-image /logfly /logfly
CMD ["/logfly"]