Parcourir la source

Fix: PIP change to China mirror

iaun il y a 3 mois
Parent
commit
948e711f55
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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/ ./