pip 换源

This commit is contained in:
xie7654
2025-07-04 13:19:49 +08:00
parent a5807e3fba
commit c6c8b4e63f
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ RUN apt-get update && \
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY . .
CMD ["sh", "-c", "sleep 10 && python manage.py runserver 0.0.0.0:8000"]