Browse Source

update docker

zhangweicheng 7 years ago
parent
commit
8878f710cc
2 changed files with 4 additions and 0 deletions
  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