FROM python:3.11 RUN python3 -m pip uninstall -y chassis # 拷贝依赖 COPY requirements.txt . # 安装依赖 RUN python3 -m pip install -i https://mirrors.cloud.tencent.com/pypi/simple --trusted-host=mirrors.cloud.tencent.com -r requirements.txt