fix 修改构建问题
All checks were successful
Build image / build (push) Successful in 1m31s

This commit is contained in:
timerzz 2024-05-14 15:42:41 +08:00
parent 30c2caabaf
commit ddc538f99b

View File

@ -7,7 +7,7 @@ ARG GOPROXY=https://goproxy.cn,direct
ARG GOPRIVATE=gitea.timerzz.com ARG GOPRIVATE=gitea.timerzz.com
ARG GONOSUMDB=gitea.timerzz.com ARG GONOSUMDB=gitea.timerzz.com
ARG GONOPROXY=gitea.timerzz.com ARG GONOPROXY=gitea.timerzz.com
RUN go build -trimpath -ldflags '-w -s' -o product ./main RUN go build -trimpath -ldflags '-w -s' -o product ./cmd
FROM alpine:latest FROM alpine:latest
WORKDIR /work WORKDIR /work