From 66d8061d4e3b349a8f688cbfc32fca2b5bcea5ad Mon Sep 17 00:00:00 2001 From: puke <1129090915@qq.com> Date: Fri, 21 Nov 2025 01:10:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BD=E5=86=85docker?= =?UTF-8?q?=E9=83=A8=E7=BD=B2=E7=9A=84=E9=95=9C=E5=83=8F=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index da4785c..6d4c470 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,12 +47,12 @@ COPY pyproject.toml uv.lock README.md ./ COPY pixelle_video ./pixelle_video # Install Python dependencies using uv pip install -# Use -i flag to specify mirror when USE_CN_MIRROR=true +# Use --system flag for Docker environment, -i flag to specify mirror when USE_CN_MIRROR=true RUN export UV_HTTP_TIMEOUT=300 && \ if [ "$USE_CN_MIRROR" = "true" ]; then \ - uv pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple; \ + uv pip install --system -e . -i https://pypi.tuna.tsinghua.edu.cn/simple; \ else \ - uv pip install -e .; \ + uv pip install --system -e .; \ fi # Copy rest of application code