zhangweicheng 6 years atrás
parent
commit
134d6d725b
2 changed files with 4 additions and 1 deletions
  1. 2 1
      .babelrc
  2. 2 0
      Dockerfile

+ 2 - 1
.babelrc

@@ -4,7 +4,8 @@
     "transform-runtime",
     {
       "helpers": false,
-      "polyfill": false
+      "polyfill": false,
+      "regenerator": true,
       "moduleName": "babel-runtime"
     }
   ]]

+ 2 - 0
Dockerfile

@@ -29,6 +29,8 @@ WORKDIR /home/ConstructionCost
 
 COPY --from=babel /home/ConstructionCost/dist /home/ConstructionCost
 COPY --from=babel /home/ConstructionCost/node_modules /home/ConstructionCost/node_modules/
+COPY public/web /home/ConstructionCost/public/web/
+
 
 RUN gulp build