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" ]