更新 cicd/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 17s
Details
Docker Deploy / build-and-deploy (push) Failing after 17s
Details
This commit is contained in:
parent
f7063eb581
commit
eb6b732e62
|
@ -2,7 +2,8 @@ ARG registry=registry.cn-hangzhou.aliyuncs.com/syschan
|
|||
FROM ${registry}/golang:alpine as builder
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN cd server && go generate && source ./cicd/bin/start/.env && go build -o ./cicd/bin/$appName -v .
|
||||
RUN cd server && go generate
|
||||
RUN go build -o ./cicd/bin/pms-server -v .
|
||||
|
||||
FROM ${registry}/alpine:latest
|
||||
WORKDIR /app
|
||||
|
|
Loading…
Reference in New Issue