Browse Source

docker 文件修改

yangc 8 years ago
parent
commit
f70dd76f96
1 changed files with 3 additions and 5 deletions
  1. 3 5
      Dockerfile

+ 3 - 5
Dockerfile

@@ -1,15 +1,13 @@
 FROM 10.10.100.200:5000/node-webpack:0.0.1
 
 RUN mkdir -p /app
-
 WORKDIR /app
 
-RUN cnpm install
-
-RUN npm run build
-
 COPY . /app
 
 RUN chmod +x run.sh
 
+RUN cnpm install
+RUN npm run build
+
 CMD [ "/app/run.sh" ]