This commit is contained in:
Timothy J. Baek 2024-09-19 22:21:35 +02:00
parent 9be73ea94a
commit 619dbbe9f5

View File

@ -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 && \