updated frontend dockerfile

This commit is contained in:
Marvin Zhang
2019-06-10 21:39:43 +08:00
parent 3b78792e0b
commit a96d762ec0

View File

@@ -9,6 +9,10 @@ ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 8.12.0
ENV WORK_DIR /opt/crawlab/frontend
# install git curl
RUN apt-get update
RUN apt-get install git curl
# install nvm
RUN curl https://raw.githubusercontent.com/creationix/nvm/v0.24.0/install.sh | bash \
&& . $NVM_DIR/nvm.sh \