This commit is contained in:
2024-09-08 17:58:15 +02:00
commit e062b1b0d6
10 changed files with 674 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM golang:1.23.1 AS builder
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o app .
FROM ubuntu:24.04
COPY --from=builder /build/app /app
CMD ["/app"]