This commit is contained in:
Simon Ding
2024-12-13 13:25:51 +08:00
parent 9d4848129f
commit 369263a55c

View File

@@ -12,7 +12,6 @@ RUN go mod download
COPY . .
COPY --from=flutter /app/build/web ./ui/build/web/
# 指定OS等并go build
RUN CGO_ENABLED=0 go build -o polaris -ldflags="-X polaris/db.Version=$(git describe --tags --long)" ./cmd/