Merge remote-tracking branch 'refs/remotes/origin/master'

This commit is contained in:
王性驊 2026-04-01 13:57:42 +00:00
commit 40970d32f5
2 changed files with 2 additions and 3 deletions

View File

@ -1,11 +1,10 @@
# ── Stage 1: 編譯 ─────────────────────────────────────────────
FROM golang:1.24-alpine AS builder
FROM golang:1.25-alpine AS builder
WORKDIR /build
COPY go.mod go.sum ./
# 臨時降版 go directive 以符合 1.24 編譯器,不修改原始 go.mod
RUN go mod edit -go=1.24 && go mod download
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o cursor-api-proxy .

BIN
cursor-api-proxy Executable file

Binary file not shown.