blob: c27c80a61d9f5b7acd9b236b88cb5805001ed7de (
plain) (
tree)
|
|
FROM golang:1.22-alpine3.20 as builder
WORKDIR /milla
COPY go.sum go.mod /milla/
RUN go mod download
COPY *.go /milla/
RUN CGO_ENABLED=0 go build
FROM gcr.io/distroless/static-debian12
COPY --from=builder /milla/milla "/usr/bin/milla"
ENTRYPOINT ["milla"]
|