mirror of
https://github.com/open-webui/open-webui.git
synced 2025-09-05 17:07:52 +02:00
docker: pre-download transformer weights
This commit is contained in:
@@ -28,6 +28,7 @@ WORKDIR /app/backend
|
||||
|
||||
COPY ./backend/requirements.txt ./requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')"
|
||||
|
||||
COPY ./backend .
|
||||
|
||||
|
Reference in New Issue
Block a user