initial commit

This commit is contained in:
Daniel Noulet 2026-10-07 15:17:40 +02:00
parent ebd5bb09fd
commit 3046604b64
26 changed files with 1535 additions and 82 deletions

View file

@ -8,13 +8,15 @@ RUN go mod download
COPY cmd/ /src/cmd/
COPY internal/ /src/internal/
COPY web/ /src/web/
COPY internal/migration/ /src/internal/migration/
COPY internal/migration/ /internal/migration/
RUN go build -o /out/go-mad ./cmd/go-mad
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=builder /out/go-mad /go-mad
COPY --from=builder /src/web /src/web
COPY --from=builder /internal/migration /internal/migration
EXPOSE 8080