Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

security: harden Docker images and update dependencies

LearningCircuitb3744a83e3b5
diff --git a/Dockerfile b/Dockerfile
index 01884fbe7e..10118e3490 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,11 @@
####
# Used for building the LDR service dependencies.
####
-FROM python:3.12.8-slim AS builder-base
+FROM python:3.14.0-slim AS builder-base
# Install system dependencies for SQLCipher and Node.js for frontend build
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get upgrade -y \
+ && apt-get install -y \
libsqlcipher-dev \
build-essential \
curl \
@@ -47,7 +48,8 @@ RUN pdm install --check --prod --no-editable
FROM builder-base AS ldr-test
# Install runtime dependencies for SQLCipher, Node.js, and testing tools
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get upgrade -y \
+ && apt-get install -y \
sqlcipher \
libsqlcipher0 \
curl \
@@ -129,10 +131,11 @@ ENV PATH="/install/.venv/bin:$PATH"
####
# Runs the LDR service.
###
-FROM python:3.12.8-slim AS ldr
+FROM python:3.14.0-slim AS ldr
# Install runtime dependencies for SQLCipher and WeasyPrint
-RUN apt-get update && apt-get install -y \
+RUN apt-get update && apt-get upgrade -y \
+ && apt-get install -y \
sqlcipher \
libsqlcipher0 \
# WeasyPrint dependencies for PDF generation
diff --git a/docker-compose.yml b/docker-compose.yml
index e9ecea38b8..881076e339 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -74,7 +74,7 @@ services:
ollama:
- image: ollama/ollama:latest
+ image: ollama/ollama:0.12.6
deploy: # Remove this section if you do not have an Nvidia GPU.
resources:
reservations:
@@ -103,7 +103,7 @@ services:
restart: unless-stopped
searxng:
- image: searxng/searxng:latest
+ image: searxng/searxng:2025.3.24
container_name: searxng
networks:
- ldr-network