mode
This commit is contained in:
parent
9090be79e2
commit
f2936feb14
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue