From ad6a1cdc6de907618d654794b3198ddee73cc331 Mon Sep 17 00:00:00 2001 From: engigu Date: Tue, 23 Dec 2025 18:27:18 +0800 Subject: [PATCH] feat: adjust docker image build --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 1acf533..ee78dde 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -13,8 +13,8 @@ mkdir -p /app/data /app/data/scripts /app/configs /app/envs if [ ! -d "$PYTHON_VENV_DIR" ]; then echo "Creating Python virtual environment..." python3 -m venv "$PYTHON_VENV_DIR" - "$PYTHON_VENV_DIR/bin/pip" install --upgrade pip "$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 echo "Python virtual environment created at $PYTHON_VENV_DIR" else echo "Python virtual environment already exists at $PYTHON_VENV_DIR"