From 6a30526d0cc490e136d22f2b8763d3eb3077a5d1 Mon Sep 17 00:00:00 2001 From: Marvin Zhang Date: Sun, 9 Jun 2019 21:21:55 +0800 Subject: [PATCH] updated Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a095cd4e..432f6e37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,8 @@ ENV NODE_PATH $NVM_DIR/versions/node/v$NODE_VERSION/lib/node_modules ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH # install frontend -RUN npm install -g yarn pm2 -RUN cd /opt/crawlab/frontend && yarn install +RUN npm install -g yarn pm2 --registry=https://registry.npm.taobao.org +RUN cd /opt/crawlab/frontend && yarn install --registry=https://registry.npm.taobao.org # install python RUN apt-get install -y python3 python3-pip net-tools iputils-ping nginx ntp