refactor: System 镜像改为多阶段构建,Python 编译产物拷贝至运行阶段
- builder 阶段安装编译依赖并编译安装 Python 3.10.0 - 运行阶段仅 update 系统、拷贝 /usr/local/python3 与 pip.conf - 先创建 ~/.pip 目录,避免 COPY 将其当作文件
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
[global]
|
||||
index-url = https://mirrors.aliyun.com/pypi/simple
|
||||
|
||||
[install]
|
||||
trusted-host = mirrors.aliyun.com
|
||||
Reference in New Issue
Block a user