From 4a8bfa248dbb77858eaa3e623f70f3f23bf98f54 Mon Sep 17 00:00:00 2001 From: handsomezhuzhu <2658601135@qq.com> Date: Fri, 16 Jan 2026 23:44:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile=EF=BC=8C?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=20Alpine=20=E7=89=88=E6=9C=AC=E4=B8=BA=203.1?= =?UTF-8?q?9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba39f62..6e4eb9b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY main.go . RUN go build -ldflags "-s -w" -o api-proxy main.go # 阶段二: 运行 -FROM alpine:latest +FROM alpine:3.19 WORKDIR /app # 从编译阶段复制可执行文件 COPY --from=builder /app/api-proxy .