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
fae7db89
Commit
fae7db89
authored
Jul 10, 2024
by
Timothy J. Baek
Browse files
chore: dockerfile
parent
ef21397f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Dockerfile
Dockerfile
+4
-2
backend/requirements.txt
backend/requirements.txt
+1
-1
No files found.
Dockerfile
View file @
fae7db89
...
@@ -95,8 +95,9 @@ RUN chown -R $UID:$GID /app $HOME
...
@@ -95,8 +95,9 @@ RUN chown -R $UID:$GID /app $HOME
RUN if
[
"
$USE_OLLAMA
"
=
"true"
]
;
then
\
RUN if
[
"
$USE_OLLAMA
"
=
"true"
]
;
then
\
apt-get update
&&
\
apt-get update
&&
\
# Install pandoc, netcat and gcc
# Install pandoc and netcat
apt-get install -y --no-install-recommends pandoc gcc netcat-openbsd curl && \
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl && \
apt-get install -y --no-install-recommends gcc python3-dev && \
# for RAG OCR
# for RAG OCR
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
# install helper tools
# install helper tools
...
@@ -109,6 +110,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
...
@@ -109,6 +110,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
apt-get update && \
apt-get update && \
# Install pandoc, netcat and gcc
# Install pandoc, netcat and gcc
apt-get install -y --no-install-recommends pandoc gcc netcat-openbsd curl jq && \
apt-get install -y --no-install-recommends pandoc gcc netcat-openbsd curl jq && \
apt-get install -y --no-install-recommends gcc python3-dev && \
# for RAG OCR
# for RAG OCR
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \
# cleanup
# cleanup
...
...
backend/requirements.txt
View file @
fae7db89
...
@@ -51,7 +51,7 @@ openpyxl==3.1.5
...
@@ -51,7 +51,7 @@ openpyxl==3.1.5
pyxlsb==1.0.10
pyxlsb==1.0.10
xlrd==2.0.1
xlrd==2.0.1
validators==0.28.1
validators==0.28.1
psutil
==5.9.7
psutil
opencv-python-headless==4.10.0.84
opencv-python-headless==4.10.0.84
rapidocr-onnxruntime==1.3.22
rapidocr-onnxruntime==1.3.22
...
...
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