npm设置淘宝源
This commit is contained in:
@@ -16,6 +16,7 @@ RUN git clone ${REPO_URL} /scripts \
|
|||||||
&& cd /scripts \
|
&& cd /scripts \
|
||||||
&& git checkout master \
|
&& git checkout master \
|
||||||
&& mkdir logs \
|
&& mkdir logs \
|
||||||
|
&& npm config set registry https://registry.npm.taobao.org \
|
||||||
&& npm install
|
&& npm install
|
||||||
|
|
||||||
RUN cp /scripts/docker/docker_entrypoint.sh /usr/local/bin \
|
RUN cp /scripts/docker/docker_entrypoint.sh /usr/local/bin \
|
||||||
|
Reference in New Issue
Block a user