zhangweicheng hace 7 años
commit
1ee9f0352f
Se han modificado 1 ficheros con 17 adiciones y 0 borrados
  1. 17 0
      Dockerfile

+ 17 - 0
Dockerfile

@@ -0,0 +1,17 @@
+FROM costbase:2.0
+
+WORKDIR /home/ConstructionCost
+
+COPY . /home/ConstructionCost
+
+RUN cnpm install
+
+RUN gulp build
+
+EXPOSE 6060
+
+ENV NODE_ENV=prod
+
+ENTRYPOINT babel-node server.js
+
+