updated Dockerfile

This commit is contained in:
Marvin Zhang
2019-06-09 21:21:55 +08:00
parent e8f43ff9b9
commit 03240d984e

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