FROM python:3.12-slim WORKDIR /app #ENV RUSTUP_DIST_SERVER="https://rsproxy.cn" #ENV RUSTUP_UPDATE_ROOT="https://rsproxy.cn/rustup" #RUN curl -sSf https://sh.rustup.rs | sh -s -- -y COPY requirements.txt . RUN python -m pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple