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: Complete Docker test environment setup for Puppeteer tests

LearningCircuit3d6f301d54f3
diff --git a/Dockerfile b/Dockerfile
index db43fe29d4..36c4d4e6b6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -35,17 +35,30 @@ RUN pdm install --check --prod --no-editable
####
FROM builder-base AS ldr-test
-# Install runtime dependencies for SQLCipher and Node.js for testing
+# Install runtime dependencies for SQLCipher, Node.js, and testing tools
RUN apt-get update && apt-get install -y \
sqlcipher \
libsqlcipher0 \
curl \
+ xauth \
+ xvfb \
&& curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
+# Copy test package files and install npm dependencies
+COPY tests/api_tests_with_login/package.json /install/tests/api_tests_with_login/
+COPY tests/ui_tests/package.json /install/tests/ui_tests/
+WORKDIR /install/tests/api_tests_with_login
+RUN npm install
+WORKDIR /install/tests/ui_tests
+RUN npm install
+WORKDIR /install
+
# Install browser automation tools and dependencies
RUN playwright install --with-deps chromium
+# Also install Chrome for Puppeteer
+RUN cd /install/tests/api_tests_with_login && npx puppeteer browsers install chrome
# Install the package using PDM
RUN pdm install --check --no-editable