Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
31bd6dfc
Commit
31bd6dfc
authored
Jan 07, 2024
by
Timothy J. Baek
Browse files
docker: pre-download transformer weights
parent
bf43415d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Dockerfile
Dockerfile
+1
-0
No files found.
Dockerfile
View file @
31bd6dfc
...
@@ -28,6 +28,7 @@ WORKDIR /app/backend
...
@@ -28,6 +28,7 @@ WORKDIR /app/backend
COPY
./backend/requirements.txt ./requirements.txt
COPY
./backend/requirements.txt ./requirements.txt
RUN
pip3
install
-r
requirements.txt
RUN
pip3
install
-r
requirements.txt
RUN
python
-c
"from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')"
COPY
./backend .
COPY
./backend .
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment