This commit is contained in:
xuyucheng 2021-11-25 14:52:40 +08:00
parent 9090be79e2
commit f2936feb14
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
FROM golang:latest FROM golang:latest
ENV GOPROXY https://goproxy.cn,direct ENV GOPROXY https://goproxy.cn,direct
WORKDIR /app WORKDIR /app
ADD ./* /app ADD ./* /app/
RUN go env -w GO111MODULE=on RUN go env -w GO111MODULE=on
RUN go env -w GOPROXY=https://goproxy.cn,direct RUN go env -w GOPROXY=https://goproxy.cn,direct
RUN go mod tidy RUN go mod tidy