zhangweicheng 8 years ago
parent
commit
cf1192e269
2 changed files with 3 additions and 2 deletions
  1. 2 0
      Dockerfile
  2. 1 2
      package.json

+ 2 - 0
Dockerfile

@@ -4,6 +4,8 @@ COPY . ConstructionOperation
 
 
 WORKDIR ConstructionOperation
 WORKDIR ConstructionOperation
 
 
+RUN mkdir tmp
+
 RUN cnpm install
 RUN cnpm install
 
 
 EXPOSE 6080
 EXPOSE 6080

+ 1 - 2
package.json

@@ -23,7 +23,6 @@
   "dependencies": {
   "dependencies": {
     "bluebird": "^3.5.0",
     "bluebird": "^3.5.0",
     "jszip": "^3.1.3",
     "jszip": "^3.1.3",
-    "pdfkit": "^0.8.2",
-    "canvas": "^1.6.5"
+    "pdfkit": "^0.8.2"
   }
   }
 }
 }