Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
40970d32f5
|
|
@ -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 .
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in New Issue