Dockerfile-go-boardgenerator 535 B

1234567891011121314
  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-boardgenerator /go/bin/battlecamp-go-boardgenerator
  6. RUN ["chmod", "755", "/go/bin/battlecamp-go-boardgenerator"]
  7. # Run the battlecamp-go-server command by default when the container starts.
  8. ENTRYPOINT ["/go/bin/battlecamp-go-boardgenerator"]
  9. # Document that the service listens on port 8080.
  10. EXPOSE 8081