chore(Dockerfile): 釘住 opencode-ai 版本至 1.17.11
This commit is contained in:
+2
-1
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user