chore(Dockerfile): 釘住 opencode-ai 版本至 1.17.11

This commit is contained in:
Jeffery
2026-06-26 15:16:54 +08:00
parent 2f2a8095a9
commit 4045fc0073
+2 -1
View File
@@ -6,7 +6,8 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*
# 安裝 opencode CLI(用於分析 git diff 產生 PR 標題與描述)
RUN npm install -g opencode-ai
# 釘住版本以確保建置可重現並降低供應鏈風險
RUN npm install -g opencode-ai@1.17.11
# 複製 Node.js 應用程式
COPY app/ /app/