Sfoglia il codice sorgente

Fix: PIP change to China mirror

iaun 3 mesi fa
parent
commit
948e711f55
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -26,7 +26,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
 
 # Install Python dependencies
 COPY backend/requirements.txt ./
-RUN pip install --no-cache-dir -r requirements.txt
+RUN pip -i https://pypi.tuna.tsinghua.edu.cn/simple install --no-cache-dir -r requirements.txt
 
 # Copy backend code
 COPY backend/ ./