From 04d70ace995728adaf5a35cd899ab6e16e1919e1 Mon Sep 17 00:00:00 2001 From: houhuan Date: Sun, 7 Dec 2025 22:05:40 +0800 Subject: [PATCH] 999 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 140f619..fd83a3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,8 @@ ENV PYTHONDONTWRITEBYTECODE=1 \ PIP_INDEX_URL=https://mirrors.cloud.tencent.com/pypi/simple \ PIP_DISABLE_PIP_VERSION_CHECK=1 \ AUTO_IMPORT_ON_START=1 -RUN apk add --no-cache tzdata && \ +RUN sed -i -e 's/dl-cdn.alpinelinux.org/mirrors.cloud.tencent.com/g' /etc/apk/repositories && \ + apk update && apk add --no-cache tzdata && \ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone COPY backend/requirements.txt . RUN python -m pip install --no-cache-dir --upgrade pip -i $PIP_INDEX_URL && \