updated Dockerfile

This commit is contained in:
Marvin Zhang
2019-06-06 20:24:21 +08:00
parent 92c28ef70a
commit cbf9653707

View File

@@ -33,7 +33,7 @@ RUN pip install -r /opt/crawlab/crawlab/requirements.txt -i https://pypi.tuna.ts
# install nvm
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.24.0/install.sh | bash \
&& source $NVM_DIR/nvm.sh \
&& . $NVM_DIR/nvm.sh \
&& nvm install v$NODE_VERSION \
&& nvm use v$NODE_VERSION \
&& nvm alias default v$NODE_VERSION