mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
refac
This commit is contained in:
parent
9be73ea94a
commit
619dbbe9f5
@ -100,7 +100,7 @@ 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 and netcat
|
# Install pandoc and netcat
|
||||||
apt-get install -y --no-install-recommends git pandoc netcat-openbsd curl && \
|
apt-get install -y --no-install-recommends git build-essential pandoc netcat-openbsd curl && \
|
||||||
apt-get install -y --no-install-recommends gcc python3-dev && \
|
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 && \
|
||||||
@ -113,7 +113,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
|
|||||||
else \
|
else \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
# Install pandoc, netcat and gcc
|
# Install pandoc, netcat and gcc
|
||||||
apt-get install -y --no-install-recommends git pandoc gcc netcat-openbsd curl jq && \
|
apt-get install -y --no-install-recommends git build-essential pandoc gcc netcat-openbsd curl jq && \
|
||||||
apt-get install -y --no-install-recommends gcc python3-dev && \
|
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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user