From 2011505131768762707320b1eee4d9b262e29f2d Mon Sep 17 00:00:00 2001 From: aaron <> Date: Mon, 20 Jan 2025 12:39:58 +0800 Subject: [PATCH] update --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 46d0604..9ef3f71 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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\