Created
August 27, 2015 20:01
-
-
Save vdemeester/939ce2ed611a8a8d2e28 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 | |
RUN ["go", "get", "github.com/geraldstanje/web_app/webserver" ] | |
WORKDIR /go/src/github.com/geraldstanje/web_app/webserver | |
# Add directories and files | |
ADD templates/index.html /go/src/github.com/geraldstanje/web_app/webserver/templates/index.html | |
ADD templates/musicalbums.html /go/src/github.com/geraldstanje/web_app/webserver/templates/musicalbums.html | |
RUN go build | |
ENTRYPOINT ./webserver | |
EXPOSE 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment