This commit is contained in:
2024-04-20 16:45:56 +03:00
commit 937c8d8eab
34 changed files with 3048 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM golang as builder
ENV CGO_ENABLED=0 GOOS=linux
WORKDIR /app
ADD . .
RUN go build -o build ./cmd
FROM alpine as runner
WORKDIR /app
COPY --from=builder /app/build /app/build
ENTRYPOINT ["/app/build"]