Skip to content

Commit

Permalink
Merge fix pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
EAddario authored Mar 15, 2021
2 parents e969781 + 4eb1e8f commit 838a8f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/erised/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
FROM golang:buster AS build
WORKDIR /go/src/app
COPY go.mod .
COPY go.sum .
RUN go mod download
COPY . .
RUN go build -o /go/bin/erised -ldflags "-s -w"

FROM gcr.io/distroless/base-debian10
COPY --from=build /go/bin/erised /
EXPOSE 8080

CMD ["/erised"]
ENTRYPOINT ["/erised"]
CMD [""]

0 comments on commit 838a8f3

Please sign in to comment.