更新 Dockerfile: 将基础镜像更改为 python:3.11,保持 Debian 源为阿里云以优化依赖安装。
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.11-slim
|
FROM python:3.11
|
||||||
|
|
||||||
# 换 debian 源为阿里云
|
# 换 debian 源为阿里云
|
||||||
RUN sed -i 's@http://deb.debian.org@http://mirrors.aliyun.com@g' /etc/apt/sources.list && \
|
RUN sed -i 's@http://deb.debian.org@http://mirrors.aliyun.com@g' /etc/apt/sources.list && \
|
||||||
|
|||||||
Reference in New Issue
Block a user