mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
chore: dockerfile
This commit is contained in:
parent
ebcc5be1bf
commit
ef21397f0d
@ -95,8 +95,8 @@ 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, netcat and gcc
|
||||||
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl && \
|
apt-get install -y --no-install-recommends pandoc gcc netcat-openbsd curl && \
|
||||||
# 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
|
||||||
@ -107,8 +107,8 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \
|
|||||||
rm -rf /var/lib/apt/lists/*; \
|
rm -rf /var/lib/apt/lists/*; \
|
||||||
else \
|
else \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
# Install pandoc and netcat
|
# Install pandoc, netcat and gcc
|
||||||
apt-get install -y --no-install-recommends pandoc netcat-openbsd curl jq && \
|
apt-get install -y --no-install-recommends pandoc gcc netcat-openbsd curl jq && \
|
||||||
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user