瀏覽代碼

update docker

zhangweicheng 7 年之前
父節點
當前提交
8878f710cc
共有 2 個文件被更改,包括 4 次插入0 次删除
  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