mode
This commit is contained in:
parent
4edfb235b8
commit
9e04381f50
|
@ -4,6 +4,7 @@ WORKDIR /home/esg_report_backend
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN go env -w GO111MODULE=on
|
RUN go env -w GO111MODULE=on
|
||||||
RUN go env -w GOPROXY=https://goproxy.cn,direct
|
RUN go env -w GOPROXY=https://goproxy.cn,direct
|
||||||
|
RUN go mod tidy
|
||||||
RUN go build -o app .
|
RUN go build -o app .
|
||||||
WORKDIR /dist
|
WORKDIR /dist
|
||||||
RUN cp /home/esg_report_backend
|
RUN cp /home/esg_report_backend
|
||||||
|
|
Loading…
Reference in New Issue