更新 cicd/Dockerfile
Docker Deploy / build-and-deploy (push) Failing after 16s Details

This commit is contained in:
root 2024-08-17 17:38:27 +08:00
parent 14054e1b31
commit 94ce8fe49d
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
ARG registry=registry.cn-hangzhou.aliyuncs.com/syschan ARG registry=registry.cn-hangzhou.aliyuncs.com/syschan
FROM ${registry}/golang:alpine as builder FROM ${registry}/golang:alpine as builder
WORKDIR /app WORKDIR /app
COPY /server . COPY . .
RUN ls
RUN go generate RUN go generate
RUN go build -o ./bin/pms-server -v . RUN go build -o ./bin/pms-server -v .