aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 416a270d55cc6738709029944e2d59fcc3a8549c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
FROM alpine:3.19 as builder
RUN apk update && apk upgrade && \
      apk add go git
WORKDIR /milla
COPY go.sum go.mod /milla/
RUN go mod download
COPY *.go /milla/
RUN go build

FROM alpine:3.19
COPY --from=builder /milla/milla /milla/
ENTRYPOINT ["/milla/milla"]