diff --git a/Dockerfile b/Dockerfile index 2bd05e6ba..a217595ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -97,6 +97,7 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \ apt-get update && \ # Install pandoc and netcat apt-get install -y --no-install-recommends pandoc netcat-openbsd curl && \ + apt-get install -y --no-install-recommends gcc python3-dev && \ # for RAG OCR apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \ # install helper tools @@ -107,8 +108,9 @@ RUN if [ "$USE_OLLAMA" = "true" ]; then \ rm -rf /var/lib/apt/lists/*; \ else \ apt-get update && \ - # Install pandoc and netcat - apt-get install -y --no-install-recommends pandoc netcat-openbsd curl jq && \ + # 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 gcc python3-dev && \ # for RAG OCR apt-get install -y --no-install-recommends ffmpeg libsm6 libxext6 && \ # cleanup diff --git a/backend/requirements.txt b/backend/requirements.txt index 9cef39ac2..b2bc0e0ac 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -51,7 +51,7 @@ openpyxl==3.1.5 pyxlsb==1.0.10 xlrd==2.0.1 validators==0.28.1 -psutil==5.9.7 +psutil opencv-python-headless==4.10.0.84 rapidocr-onnxruntime==1.3.22 diff --git a/src/app.html b/src/app.html index 6f637bf61..5d48e1d7e 100644 --- a/src/app.html +++ b/src/app.html @@ -65,6 +65,7 @@ %sveltekit.head% +