mirror of
https://github.com/open-webui/open-webui
synced 2025-05-02 20:11:56 +00:00
chore: dockerfile
This commit is contained in:
parent
ef21397f0d
commit
fae7db89e6
@ -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 \
|
|||||||
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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user