zhangweicheng %!s(int64=7) %!d(string=hai) anos
achega
1ee9f0352f
Modificáronse 1 ficheiros con 17 adicións e 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
+
+