Explorar o código

add Dockerfile

zhangweicheng %!s(int64=8) %!d(string=hai) anos
pai
achega
876962605f
Modificáronse 1 ficheiros con 13 adicións e 0 borrados
  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
+
+