dockerfile,nodejs version bump

This commit is contained in:
2026-06-15 11:25:44 +08:00
parent cfb75c30cf
commit 3d831650b7
2 changed files with 33 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ COPY --from=web /web/dist/. ./cmd/server/web/dist/
RUN CGO_ENABLED=0 GOOS=linux go build -trimpath -ldflags='-s -w' -o /out/server ./cmd/server
# ─── Stage 3: runtime ───
FROM registry.jerryyan.top/library/alpine:3.20
FROM registry.jerryyan.top/library/alpine:3.24
# nodejs/npm 供安装 ACP agent CLI(claude-code-acp / codex / gemini-cli 等,
# 均为 npm 包)。npm 全局 prefix 指到 /data/npm-global(持久卷),容器内
# `npm i -g xxx` 一次安装,重建镜像后无需重装;binary_path 填