From 9501ec94a43f8dc94d29cefe6e67ed79ad3b5e13 Mon Sep 17 00:00:00 2001 From: feie9456 Date: Sun, 10 Aug 2025 10:21:51 +0800 Subject: [PATCH] edit deploy.sh --- deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.sh b/deploy.sh index abf59fc..092b9ae 100755 --- a/deploy.sh +++ b/deploy.sh @@ -55,9 +55,9 @@ fi echo "📦 安装 Python 依赖..." source venv/bin/activate echo "🐍 虚拟环境已激活: $(which python)" -pip install --upgrade pip -pip install -r requirements.txt -pip install gunicorn supervisor # 生产环境依赖 +pip install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple/ +pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ +pip install gunicorn supervisor -i https://mirrors.aliyun.com/pypi/simple/ # 生产环境依赖 # 7. 构建前端 echo "🏗️ 构建前端..."