1
0
Fork 0

Update Dockerfile

master
Ambrose Chua 2018-09-17 12:02:48 +08:00 committed by GitHub
parent 917b508b9f
commit 0c2d7b79d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.10-alpine as go
FROM golang:1.10-alpine as build
# args
ARG version="1.0.0"
@ -23,7 +23,7 @@ LABEL org.label-schema.version=${version}
LABEL org.label-schema.schema-version="1.0"
# copy binary
COPY --from=go /text-server /text-server
COPY --from=build /text-server /text-server
EXPOSE 8080