~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: remove unused Chrome from production Docker image (10 CVEs) (#2583)
LearningCircuit6c31c4c1c606
diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.ymlindex b0923eb433..7d1b9c87df 100644--- a/.github/workflows/docker-tests.yml+++ b/.github/workflows/docker-tests.yml@@ -822,6 +822,12 @@ jobs:playwright --versionecho "OK: playwright accessible as ldruser"+ echo "Checking playwright browsers are NOT in production image..."+ if [ -d /home/ldruser/.cache/ms-playwright ]; then+ echo "FAIL: Playwright browsers found in production image (should only be in ldr-test stage)"+ exit 1+ fi+ echo "OK: no playwright browsers in production image (as expected)"'- name: Start production containerdiff --git a/Dockerfile b/Dockerfileindex 21d6a603af..58bb842967 100644--- a/Dockerfile+++ b/Dockerfile@@ -173,7 +173,7 @@ RUN CHROME_PATH=$(find /root/.cache/ms-playwright -name chrome -type f 2>/dev/nu# Set environment variables for Puppeteer to use Playwright's ChromeENV PUPPETEER_SKIP_DOWNLOAD=trueENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true-ENV PUPPETEER_EXECUTABLE_PATH=/root/.cache/ms-playwright/chromium-1208/chrome-linux/chrome+ENV PUPPETEER_EXECUTABLE_PATH=/root/.cache/ms-playwright/chromium-1208/chrome-linux64/chrome# Copy test files to /app where they will be run fromRUN mkdir -p /app && cp -r /install/tests /app/@@ -238,17 +238,14 @@ RUN mkdir -p /app/.config/local_deep_research /home/ldruser/.local/share && \COPY --chown=ldruser:ldruser --from=builder /install/.venv/ /install/.venvENV PATH="/install/.venv/bin:$PATH"-# Verify SQLCipher, then install browsers — both as ldruser via setpriv.-# Running as ldruser ensures:-# 1. Python __pycache__ files created during import are owned by ldruser-# 2. Browser binaries land in ldruser's $HOME (~/.cache/ms-playwright/)-# This avoids the need to chown 500MB+ of files later.+# Verify SQLCipher as ldruser via setpriv.+# Running as ldruser ensures Python __pycache__ files created during import+# are owned by ldruser. Browser binaries are NOT installed in the production+# image — Playwright is only used for testing (ldr-test stage).RUN HOME=/home/ldruser setpriv --reuid=ldruser --regid=ldruser --init-groups -- \python -c "from local_deep_research.database.sqlcipher_compat import get_sqlcipher_module; \sqlcipher = get_sqlcipher_module(); \- print(f'✓ SQLCipher module loaded successfully: {sqlcipher}')" \- && HOME=/home/ldruser setpriv --reuid=ldruser --regid=ldruser --init-groups -- \- playwright install+ print(f'✓ SQLCipher module loaded successfully: {sqlcipher}')"# Create volume for persistent configuration# Use /app for configuration to support non-root user