Created
January 31, 2020 13:39
-
-
Save timhberry/df4b7f6ade69804b0956c56914c1afea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:1.13 as build | |
WORKDIR /go/src/app | |
COPY . . | |
RUN go build -v -o app . | |
FROM gcr.io/distroless/base | |
COPY --from=build /go/src/app/. / | |
CMD ["/app"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment