Dockerfile-go-server 631 B

1234567891011121314151617
  1. # Start from a Debian image with the latest version of Go installed
  2. # and a workspace (GOPATH) configured at /go.
  3. FROM buildpack-deps:jessie-scm
  4. # Copy the local package files to the container's workspace.
  5. ADD bin/battlecamp-go-server /go/bin/battlecamp-go-server
  6. # Build the outyet command inside the container.
  7. # (You may fetch or manage dependencies here,
  8. # either manually or with a tool like "godep".)
  9. # RUN go install battlecamp-go-server
  10. # Run the battlecamp-go-server command by default when the container starts.
  11. ENTRYPOINT ["/go/bin/battlecamp-go-server"]
  12. # Document that the service listens on port 8080.
  13. EXPOSE 8080