From f0c4313e5bf0aca1bb7a4a896c3db40b663461ab Mon Sep 17 00:00:00 2001 From: PikuZheng Date: Fri, 15 Dec 2023 14:46:48 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2cf6f9..edfdae3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,7 @@ COPY ./common ./common COPY ./modules ./modules COPY ./requirements.txt . -# ........., ....................., ...................... - -RUN pip install --no-cache-dir -r requirements.txt +# 指定源, 如果后期源挂了, 更换个源就可以. # ........., ....................., ...................... +RUN pip install --no-cache -i https://pypi.mirrors.ustc.edu.cn/simple/ -r requirements.txt CMD [ "python", "main.py" ]