diff --git a/Dockerfile b/Dockerfile index 3ade3d4fd6..890a1220c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -133,6 +133,9 @@ RUN apt-get update && \ # install python dependencies COPY --chown=$UID:$GID ./backend/requirements.txt ./requirements.txt +RUN pip3 config set global.index-url https://mirrors.aliyun.com/pypi/simple/ && \ + pip3 config set install.trusted-host mirrors.aliyun.com + RUN pip3 install --no-cache-dir uv && \ if [ "$USE_CUDA" = "true" ]; then \ # If you use CUDA the whisper and embedding model will be downloaded on first use