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

This commit is contained in:
root 2024-08-17 17:06:19 +08:00
parent 07c0501968
commit 59cb042f82
1 changed files with 1 additions and 1 deletions

View File

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