From 531e98e8cca6fef22b048d7c0621e5f85abd040f Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 27 Jan 2024 14:16:00 -0500 Subject: first commit --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..416a270 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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"] -- cgit v1.2.3