caipin 3 years ago
parent
commit
d4766c3988
1 changed files with 3 additions and 1 deletions
  1. 3 1
      deployment/Dockerfile

+ 3 - 1
deployment/Dockerfile

@@ -12,10 +12,12 @@ RUN go env -w GOPROXY=https://goproxy.cn,direct
 COPY . /go/src/construction_management
 # 编译
 WORKDIR /go/src/construction_management/server/web
+
+RUN ls ./external
 #install 执行文件会生成在 gopath/bin 中
 RUN go install ./
 
-RUN ls ./external
+
 
 
 # 正式镜像