This commit is contained in:
xuyucheng 2021-11-25 13:55:54 +08:00
parent 8ce5c37708
commit 52d33b2649
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
FROM golang:latest
ENV GOPROXY https://goproxy.cn,direct
WORKDIR /esg_report_backend
WORKDIR /home/gin
COPY . .
RUN go env -w GO111MODULE=on
RUN go env -w GOPROXY=https://goproxy.cn,direct
@ -8,4 +8,4 @@ RUN go mod tidy
RUN go build -o app .
WORKDIR /dist
EXPOSE 9090
CMD ["./webserver"]
CMD ["/dist/app"]