This commit is contained in:
BENEDEK László 2025-06-10 13:16:51 +02:00
parent f93a0ebcd4
commit 3995617db6

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM golang AS build
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 go build -o app
FROM scratch
COPY --from=build --chown=0:0 --chmod=555 /app/app /app/app
ENTRYPOINT ["/app/app"]