[fix] 更新dockerfile依赖

This commit is contained in:
Wizerd
2024-01-04 15:53:24 +08:00
parent 50da370c2a
commit cf465808d7

View File

@@ -12,7 +12,15 @@ ENV PYTHONUNBUFFERED=1
RUN chmod +x /app/start.sh
RUN apt update && apt install -y jq
RUN apt update && apt install -y \
jq \
zlib1g-dev \
gcc \
curl \
&& curl https://sh.rustup.rs -sSf | sh -s -- -y
# 安装 Rust 编译器
ENV PATH="/root/.cargo/bin:${PATH}"
# 设置 pip 源为清华大学镜像
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple