fix: accelerate staging Python installs
Deploy staging to test server / deploy (push) Has been cancelled

This commit is contained in:
linmeng
2026-07-28 17:07:32 +08:00
parent 31aa75f409
commit e1fb1777ec
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
FROM m.daocloud.io/docker.io/library/python:3.12-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
PIP_NO_CACHE_DIR=1 \
PIP_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/ \
PIP_DEFAULT_TIMEOUT=60
WORKDIR /app
COPY requirements.txt ./