parent
1404c8fec9
commit
25a39b27a7
18
Dockerfile
18
Dockerfile
|
@ -1,18 +0,0 @@
|
|||
FROM golang:1.16-buster AS build
|
||||
|
||||
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"]
|
Loading…
Reference in New Issue