updated Dockerfile

This commit is contained in:
Marvin Zhang
2019-06-09 21:21:55 +08:00
parent 6ca316b3e3
commit 6a30526d0c

View File

@@ -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