This commit is contained in:
Fred Boniface
2025-07-24 20:44:28 +01:00
commit c1c1200227
10 changed files with 521 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM golang:1.24.5-alpine AS builder
WORKDIR /app
COPY src/ ./
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o server
FROM scratch
COPY --from=builder /app/server /server
ENTRYPOINT ["/server"]