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.

fix: Add Chrome dependencies and flags for Docker stability

LearningCircuit9e00229cec5b
diff --git a/Dockerfile b/Dockerfile
index 8e5c1aa7fb..c1134aa74b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -44,6 +44,25 @@ RUN apt-get update && apt-get install -y \
xvfb \
wget \
gnupg \
+ # Additional dependencies for Chrome
+ fonts-liberation \
+ libasound2 \
+ libatk-bridge2.0-0 \
+ libatk1.0-0 \
+ libatspi2.0-0 \
+ libcups2 \
+ libdbus-1-3 \
+ libdrm2 \
+ libgbm1 \
+ libgtk-3-0 \
+ libnspr4 \
+ libnss3 \
+ libxcomposite1 \
+ libxdamage1 \
+ libxfixes3 \
+ libxkbcommon0 \
+ libxrandr2 \
+ xdg-utils \
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
&& apt-get install -y nodejs \
&& wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
@@ -68,6 +87,9 @@ RUN playwright install --with-deps chromium
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome-stable
+# Verify Chrome installation
+RUN google-chrome-stable --version
+
# Install the package using PDM
RUN pdm install --check --no-editable
# Configure path to default to the venv python.
diff --git a/tests/api_tests_with_login/puppeteer_config.js b/tests/api_tests_with_login/puppeteer_config.js
index 2ce12fcbbb..a5cc8cb6a3 100644
--- a/tests/api_tests_with_login/puppeteer_config.js
+++ b/tests/api_tests_with_login/puppeteer_config.js
@@ -5,7 +5,16 @@
function getPuppeteerLaunchOptions(additionalOptions = {}) {
const defaultOptions = {
headless: true,
- args: ['--no-sandbox', '--disable-setuid-sandbox']
+ args: [
+ '--no-sandbox',
+ '--disable-setuid-sandbox',
+ '--disable-dev-shm-usage',
+ '--disable-accelerated-2d-canvas',
+ '--no-first-run',
+ '--no-zygote',
+ '--single-process', // <- This one is important for Docker
+ '--disable-gpu'
+ ]
};
// In CI/Docker, use the system Chrome if PUPPETEER_EXECUTABLE_PATH is set
diff --git a/tests/ui_tests/puppeteer_config.js b/tests/ui_tests/puppeteer_config.js
index c1f31e3bb7..a04b1e1afa 100644
--- a/tests/ui_tests/puppeteer_config.js
+++ b/tests/ui_tests/puppeteer_config.js
@@ -5,7 +5,16 @@
function getPuppeteerLaunchOptions(additionalOptions = {}) {
const defaultOptions = {
headless: process.env.CI ? true : false,
- args: ['--no-sandbox', '--disable-setuid-sandbox']
+ args: [
+ '--no-sandbox',
+ '--disable-setuid-sandbox',
+ '--disable-dev-shm-usage',
+ '--disable-accelerated-2d-canvas',
+ '--no-first-run',
+ '--no-zygote',
+ '--single-process', // <- This one is important for Docker
+ '--disable-gpu'
+ ]
};
// In CI/Docker, use the system Chrome if PUPPETEER_EXECUTABLE_PATH is set