更新 opencode/Dockerfile

This commit is contained in:
wol
2026-07-04 18:27:02 +08:00
parent 40af212d4c
commit 68e5b1e70b
+4 -2
View File
@@ -47,8 +47,10 @@ RUN apt-get update && apt-get install -y \
docker-compose-v2 \
&& rm -rf /var/lib/apt/lists/*
# 然后使用 pip 安装 uv(推荐使用 pip3,确保 Python 环境)
RUN pip3 install uv
# 使用官方安装脚本安装 uv(放入 ~/.cargo/bin)
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
# 将 uv 所在目录加入 PATH
ENV PATH="/root/.cargo/bin:${PATH}"
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \
apt-get update && \