caipin 2 years ago
parent
commit
171a18a49b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      deployment/Dockerfile

+ 2 - 1
deployment/Dockerfile

@@ -5,7 +5,8 @@
 # RUN cnpm run build
 
 # 后端预构建
-FROM cm-gocache:latest AS builder
+#FROM cm-gocache:latest AS builder
+FROM golang:1.15-alpine AS builder
 RUN go env -w GO111MODULE=on
 RUN go env -w GOPROXY=https://goproxy.cn,direct
 COPY . /go/src/construction_management