mirror of https://github.com/dtm-labs/dtm.git
1 changed files with 2 additions and 0 deletions
@ -1,6 +1,8 @@ |
|||
FROM daocloud.io/atsctoo/golang:1.15 |
|||
WORKDIR /app/dtm |
|||
COPY . . |
|||
RUN go env -w GO111MODULE=on |
|||
RUN go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/,direct |
|||
RUN go build app/main.go |
|||
EXPOSE 8080 |
|||
CMD [ "/app/dtm/main", "dtmsvr" ] |
|||
|
|||
Loading…
Reference in new issue