修改部署文件

This commit is contained in:
sophie committed 2026-05-14 15:13:09 +08:00
1 parent f108c350c3
commit dcbbf0e05d
1 file changed
+1 -1
+1 -1
View File
@@ -27,7 +27,7 @@ RUN set -eux; \
&& rm -rf /var/lib/apt/lists/*
# Install Python dependencies
COPY requirements.txt .
COPY backend/requirements.txt .
RUN set -eux; \
PIP_ARGS="--no-cache-dir --retries 10 --timeout 60"; \
if [ -n "${PIP_INDEX_URL:-}" ]; then \