- builder 阶段安装编译依赖并编译安装 Python 3.10.0 - 运行阶段仅 update 系统、拷贝 /usr/local/python3 与 pip.conf - 先创建 ~/.pip 目录,避免 COPY 将其当作文件
5 lines
104 B
Plaintext
5 lines
104 B
Plaintext
[global]
|
|
index-url = https://mirrors.aliyun.com/pypi/simple
|
|
|
|
[install]
|
|
trusted-host = mirrors.aliyun.com |