We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2277c34 commit ca7f7acCopy full SHA for ca7f7ac
1 file changed
Dockerfile
@@ -7,7 +7,8 @@ COPY . /data/app
7
WORKDIR /data/app
8
9
RUN rm -rf /data/app/bin/
10
-RUN export GOPROXY=https://goproxy.cn,direct && go mod tidy && go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH}
+#RUN export GOPROXY=https://goproxy.cn,direct && go mod tidy && go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH}
11
+RUN go mod tidy && go build -ldflags="-s -w" -o ./bin/server ${APP_RELATIVE_PATH}
12
RUN mv config /data/app/bin/
13
14
0 commit comments