更新 opencode/Dockerfile
This commit is contained in:
+1
-5
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user