mirror of
https://github.com/Yanyutin753/RefreshToV1Api.git
synced 2025-10-16 08:10:21 +00:00
[fix] 更新dockerfile依赖
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -12,7 +12,15 @@ ENV PYTHONUNBUFFERED=1
|
|||||||
|
|
||||||
RUN chmod +x /app/start.sh
|
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 源为清华大学镜像
|
# 设置 pip 源为清华大学镜像
|
||||||
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
||||||
|
Reference in New Issue
Block a user