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
5c18d61d
Unverified
Commit
5c18d61d
authored
Jan 12, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Jan 12, 2024
Browse files
Merge pull request #461 from djismgaming/optimization/reduce-image-size
reduce docker final image size
parents
6d6d5b4d
141afb4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
5c18d61d
...
...
@@ -42,8 +42,8 @@ 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
pip3
install
torch torchvision torchaudio
--index-url
https://download.pytorch.org/whl/cpu
--no-cache-dir
RUN
pip3
install
-r
requirements.txt
--no-cache-dir
# RUN python -c "from sentence_transformers import SentenceTransformer; model = SentenceTransformer('all-MiniLM-L6-v2')"
...
...
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