Browse Source

添加achiever依赖

yangc 7 years ago
parent
commit
daa860008f
2 changed files with 4 additions and 2 deletions
  1. 3 2
      Dockerfile
  2. 1 0
      package.json

+ 3 - 2
Dockerfile

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

+ 1 - 0
package.json

@@ -5,6 +5,7 @@
   "author": "yingp <yingp@usoftchina.com>",
   "private": true,
   "dependencies": {
+    "archiver": "^2.1.0",
     "axios": "^0.15.3",
     "bezier-easing": "^2.0.3",
     "bootstrap": "^3.3.7",