Ver código fonte

update docker

zhangweicheng 7 anos atrás
pai
commit
8878f710cc
2 arquivos alterados com 4 adições e 0 exclusões
  1. 2 0
      Dockerfile
  2. 2 0
      Dockerfile_qa

+ 2 - 0
Dockerfile

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

+ 2 - 0
Dockerfile_qa

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