updated frontend dockerfile

This commit is contained in:
Marvin Zhang
2019-06-10 21:47:44 +08:00
parent f2493d174e
commit 8147457f95
3 changed files with 4 additions and 21 deletions

View File

@@ -4,10 +4,6 @@ FROM nginx:latest
# source files
ADD . /opt/crawlab/frontend
#用ubuntu国内源替换默认源
RUN rm /etc/apt/sources.list
COPY sources.list /etc/apt/sources.list
# environment variables
ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 8.12.0