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