mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 06:15:23 +00:00
fix: 修改源
This commit is contained in:
parent
409671362c
commit
4c0328ee1c
1 changed files with 3 additions and 0 deletions
|
|
@ -133,6 +133,9 @@ RUN apt-get update && \
|
||||||
# install python dependencies
|
# install python dependencies
|
||||||
COPY --chown=$UID:$GID ./backend/requirements.txt ./requirements.txt
|
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 && \
|
RUN pip3 install --no-cache-dir uv && \
|
||||||
if [ "$USE_CUDA" = "true" ]; then \
|
if [ "$USE_CUDA" = "true" ]; then \
|
||||||
# If you use CUDA the whisper and embedding model will be downloaded on first use
|
# If you use CUDA the whisper and embedding model will be downloaded on first use
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue