From c28730cfb6c089fcb8ca077dc53ceae7849efe88 Mon Sep 17 00:00:00 2001 From: ManJieqi <363071559@139.com> Date: Thu, 4 Apr 2024 14:28:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=88=E5=AE=89=E8=A3=85=E5=86=8D=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E8=BD=AF=E4=BB=B6=E6=BA=90=E4=BB=A5=E9=80=82=E9=85=8D?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E7=8E=AF=E5=A2=83=E7=BD=91=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f7f0e2c..6c2a44d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,9 @@ COPY geoip2.conf /etc/nginx/modules/ # 设置Python包的镜像源,并安装zope和certbot-dns-dnspod RUN source /opt/certbot/bin/activate && \ - pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple && \ pip install --no-cache-dir zope certbot-dns-dnspod && \ + pip config set global.index-url https://mirrors.tencentyun.com/pypi/simple && \ deactivate # 更改apt源为腾讯云源 -RUN sed -i "s@http://deb.debian.org@https://mirrors.cloud.tencent.com@g" /etc/apt/sources.list.d/debian.sources +RUN sed -i "s@http://deb.debian.org@https://mirrors.tencentyun.com@g" /etc/apt/sources.list.d/debian.sources