Last active
June 18, 2017 12:11
-
-
Save dlsniper/187480db2315ff882de1eb07e5b00946 to your computer and use it in GitHub Desktop.
Dockerfile to build the webinar example
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
# build stage | |
FROM golang:1.8.3 AS build-env | |
ADD . /go/src/github.com/dlsniper/webinar | |
RUN go build -o /webinar github.com/dlsniper/webinar | |
# final stage | |
FROM ubuntu:16.04 | |
WORKDIR / | |
COPY --from=build-env /webinar / | |
EXPOSE 8000 | |
CMD ["/webinar"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment