npm设置淘宝源

This commit is contained in:
xiaoFsu
2021-02-05 09:50:30 +08:00
committed by Gitee
parent afa7670e14
commit ac2fc7b565

View File

@@ -16,6 +16,7 @@ RUN git clone ${REPO_URL} /scripts \
&& cd /scripts \
&& git checkout master \
&& mkdir logs \
&& npm config set registry https://registry.npm.taobao.org \
&& npm install
RUN cp /scripts/docker/docker_entrypoint.sh /usr/local/bin \