浏览代码

Fix: PIP change to China mirror

iaun 3 月之前
父节点
当前提交
948e711f55
共有 1 个文件被更改,包括 1 次插入1 次删除
  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/ ./