fix: docker file

This commit is contained in:
tbphp
2025-06-10 11:14:21 +08:00
parent 272d36add5
commit 8ecdbccc2a

View File

@@ -24,7 +24,7 @@ ARG TARGETARCH
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
-ldflags="-w -s -X main.Version=2.0.0" \
-o gpt-load \
./cmd/main.go
./cmd/gpt-load/main.go
# 运行阶段
FROM alpine:latest