Explorar o código

update docker

zhangweicheng %!s(int64=7) %!d(string=hai) anos
pai
achega
8878f710cc
Modificáronse 2 ficheiros con 4 adicións e 0 borrados
  1. 2 0
      Dockerfile
  2. 2 0
      Dockerfile_qa

+ 2 - 0
Dockerfile

@@ -2,6 +2,8 @@ FROM operationbase:latest
 
 WORKDIR /ConstructionOperation
 
+RUN git pull http://192.168.1.12:3000/SmartCost/ConstructionOperation master
+
 RUN mkdir tmp
 
 RUN cnpm install

+ 2 - 0
Dockerfile_qa

@@ -2,6 +2,8 @@ FROM operationbase:latest
 
 WORKDIR /ConstructionOperation
 
+RUN git pull http://192.168.1.12:3000/SmartCost/ConstructionOperation master
+
 RUN mkdir tmp
 
 RUN cnpm install