From 00787bdd33064b813a727f8e4241aee1c4f6dc2e Mon Sep 17 00:00:00 2001 From: gazedreamily Date: Mon, 19 Jun 2023 11:33:00 +0800 Subject: [PATCH] feat: cn pip source --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 3bbbc27..7a92d4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM python:3.10.11-slim-buster WORKDIR /app COPY . . +RUN pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/ RUN pip3 install -r requirements.txt EXPOSE 8000 CMD ["python3", "main.py"] \ No newline at end of file