更新 opencode/Dockerfile

This commit is contained in:
wol
2026-08-05 17:14:13 +08:00
parent 759d643918
commit d1e5d68bd4
+1 -5
View File
@@ -57,12 +57,8 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# 在 npm install 前设置代理
ENV HTTP_PROXY=http://192.168.1.12:7897
ENV HTTPS_PROXY=http://192.168.1.12:7897
RUN npm config set registry http://192.168.1.12:8081/repository/npm-public/
RUN npm install -g \
RUN ONNXRUNTIME_NODE_INSTALL=skip npm install -g \
pnpm \
yarn \
opencode-ai@latest \