25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
347 B

  1. FROM golang
  2. MAINTAINER Remco Verhoef <remco@dutchcoders.io>
  3. RUN mkdir -p /go/src/app
  4. WORKDIR /go/src/app
  5. # Copy the local package files to the container's workspace.
  6. ADD ./transfersh-server /go/src/app
  7. # install dependencies
  8. RUN go get ./
  9. # build & install server
  10. RUN go install .
  11. ENTRYPOINT ["/go/bin/app", "--port", "8080"]
  12. EXPOSE 8080