mirror of https://github.com/dtm-labs/dtm.git
csharpjavadistributed-transactionsdtmgogolangmicroservicenodejsphpdatabasesagaseatatcctransactiontransactionsxapythondistributed
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
228 B
8 lines
228 B
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" ]
|
|
|