mirror of
https://github.com/open-webui/open-webui
synced 2024-11-21 23:57:51 +00:00
fix: dockerfile
This commit is contained in:
parent
706a8d4f8d
commit
02f364bfd9
@ -40,6 +40,8 @@ COPY --from=build /app/build /app/build
|
||||
WORKDIR /app/backend
|
||||
|
||||
COPY ./backend/requirements.txt ./requirements.txt
|
||||
|
||||
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
# RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')"
|
||||
|
@ -16,13 +16,6 @@ aiohttp
|
||||
peewee
|
||||
bcrypt
|
||||
|
||||
--index-url https://download.pytorch.org/whl/cpu
|
||||
torch
|
||||
--index-url https://download.pytorch.org/whl/cpu
|
||||
torchvision
|
||||
--index-url https://download.pytorch.org/whl/cpu
|
||||
torchaudio
|
||||
|
||||
langchain
|
||||
langchain-community
|
||||
chromadb
|
||||
|
Loading…
Reference in New Issue
Block a user