From adac81ef7a4ca4930e0e691b832e80cd4623a693 Mon Sep 17 00:00:00 2001 From: engigu Date: Sat, 27 Dec 2025 12:02:28 +0800 Subject: [PATCH] fix: pip config set --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index effe361..7d9e054 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -22,8 +22,8 @@ mkdir -p \ if [ ! -x "$PYTHON_VENV_DIR/bin/python" ]; then echo "[entrypoint] Creating Python virtual environment..." python3 -m venv "$PYTHON_VENV_DIR" - "$PYTHON_VENV_DIR/bin/pip" install --upgrade pip setuptools wheel "$PYTHON_VENV_DIR/bin/pip" config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple + "$PYTHON_VENV_DIR/bin/pip" install --upgrade pip setuptools wheel else echo "[entrypoint] Python venv exists" fi