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

LearningCircuitcbb6c2a27585
diff --git a/Dockerfile b/Dockerfile
index 9e224f723b..3dae5ee7d9 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 \
sqlcipher \
libsqlcipher0 \
@@ -51,7 +52,8 @@ RUN pdm install --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 \
@@ -135,10 +137,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 edf7a847c9..9f3e0cba23 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -73,7 +73,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:
@@ -102,7 +102,7 @@ services:
restart: unless-stopped
searxng:
- image: searxng/searxng:latest
+ image: searxng/searxng:2025.3.24
container_name: searxng
networks:
- ldr-network