npm设置淘宝源

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

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 \