Ver código fonte

add Dockerfile

zhangweicheng 8 anos atrás
pai
commit
876962605f
1 arquivos alterados com 13 adições e 0 exclusões
  1. 13 0
      Dockerfile

+ 13 - 0
Dockerfile

@@ -0,0 +1,13 @@
+FROM server:2.0
+
+COPY . ConstructionOperation
+
+WORKDIR ConstructionOperation
+
+RUN cnpm install 
+
+EXPOSE 6080
+
+ENTRYPOINT node operation.js
+
+