Skip to content

Instantly share code, notes, and snippets.

@vdemeester
Created August 27, 2015 20:01
Show Gist options
  • Save vdemeester/939ce2ed611a8a8d2e28 to your computer and use it in GitHub Desktop.
Save vdemeester/939ce2ed611a8a8d2e28 to your computer and use it in GitHub Desktop.
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