您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

19 行
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