Merge pull request #2023 from seefs001/fix/version

fix: version
This commit is contained in:
Seefs
2025-10-12 13:05:51 +08:00
committed by GitHub

View File

@@ -23,7 +23,7 @@ RUN go mod download
COPY . .
COPY --from=builder /build/dist ./web/dist
RUN go build -ldflags "-s -w -X 'new-api/common.Version=$(cat VERSION)'" -o new-api
RUN go build -ldflags "-s -w -X 'github.com/QuantumNous/new-api/common.Version=$(cat VERSION)'" -o new-api
FROM alpine