We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79cf113 + 87de7f7 commit 4046865Copy full SHA for 4046865
service/Dockerfile
@@ -1,10 +1,10 @@
1
-FROM golang:1.13.5 as bd
+FROM golang:1.13.7 as bd
2
WORKDIR /github.com/layer5io/sample-app-service
3
ADD . .
4
-RUN GOPROXY=direct GOSUMDB=off go build -a -o ./main .
+RUN go build -a -o ./main .
5
6
-FROM alpine:latest
7
-COPY --from=bd /github.com/layer5io/sample-app-service/** /home/
+FROM golang:1.13.7
+COPY --from=bd /github.com/layer5io/sample-app-service/main /home/main
8
WORKDIR /home/
9
EXPOSE 9091
10
CMD ["./main"]
0 commit comments