This commit is contained in:
aaron 2025-01-20 12:39:58 +08:00
parent 041bfe4dc3
commit 2011505131

View File

@ -1,6 +1,10 @@
# 使用Python 3.10作为基础镜像
FROM python:3.10-slim
# 清空所有默认源
RUN rm -rf /etc/apt/sources.list.d/* && \
rm -f /etc/apt/sources.list
# 替换为阿里云源
RUN echo "\
deb https://mirrors.aliyun.com/debian/ bookworm main non-free-firmware contrib\n\