update npmmirror

This commit is contained in:
bwcx_jzy 2022-02-15 23:11:43 +08:00
parent a089922f21
commit 1c27863511
No known key found for this signature in database
GPG Key ID: 5E48E9372088B9E5

View File

@ -43,7 +43,7 @@ RUN set -eux; \
esac; \
curl -LfsSo /opt/node-v16.13.1-linux-${BINARY_ARCH}.tar.gz https://npmmirror.com/mirrors/node/v16.13.1/node-v16.13.1-linux-${BINARY_ARCH}.tar.gz \
&& tar -zxvf /opt/node-v16.13.1-linux-${BINARY_ARCH}.tar.gz -C /opt/ && export PATH=/opt/node-v16.13.1-linux-${BINARY_ARCH}/bin:$PATH \
&& npm config set registry https://registry.npm.taobao.org/ \
&& npm config set registry https://registry.npmmirror.com/ \
&& cd web-vue && npm install && npm run build
RUN mvn -B -e -T 1C clean package -pl modules/server -am -Dmaven.test.skip=true -Dmaven.compile.fork=true -s script/settings.xml
@ -62,4 +62,3 @@ EXPOSE 2122
ENTRYPOINT ["/bin/bash", "Server.sh", "start"]