initial commit
This commit is contained in:
parent
ebd5bb09fd
commit
3046604b64
26 changed files with 1535 additions and 82 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue