changeloguru/Dockerfile

19 lines
271 B
Docker
Raw Normal View History

2021-03-17 05:12:22 +00:00
FROM golang:1.16-buster AS build
2020-11-10 17:51:13 +00:00
WORKDIR /go/src/changeloguru
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN go build -o /go/bin/changeloguru
FROM gcr.io/distroless/base-debian10
COPY --from=build /go/bin/changeloguru /
ENTRYPOINT ["/changeloguru"]