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.

working docker file

LearningCircuit5c49300abaf3
diff --git a/Dockerfile b/Dockerfile
index ae54303084..91126f9593 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,12 +2,32 @@ FROM python:3.13.2
WORKDIR /app
-COPY requirements.txt /app/requirements.txt
-RUN pip3 install --upgrade pip && pip install --no-cache-dir -r /app/requirements.txt
+# Install the package directly
+RUN pip3 install --upgrade pip && pip install local-deep-research
-COPY . /app
+# Install browser automation tools
+RUN playwright install
+# Create the config directory with necessary files
+RUN mkdir -p /root/.config/local_deep_research/config
+RUN echo "# Add your environment variables here" > /root/.config/local_deep_research/config/.env.template
+RUN echo "# Add your environment variables here" > /root/.config/local_deep_research/config/.env
+
+# Environment variables for configuration
+ENV LDR_WEB__PORT=5000
+ENV LDR_SEARCH__TOOL="auto"
+ENV LDR_SEARCH__ITERATIONS=2
+ENV LDR_SEARCH__QUESTIONS_PER_ITERATION=2
+ENV LDR_GENERAL__ENABLE_FACT_CHECKING=false
+ENV LDR_LLM__PROVIDER="ollama"
+ENV LDR_LLM__MODEL="gemma3:12b"
+ENV LDR_LLM__TEMPERATURE=0.7
+ENV LDR_LLM__MAX_TOKENS=30000
+ENV OLLAMA_BASE_URL="http://localhost:11434"
+
+# Create volume for persistent configuration
+VOLUME /root/.config/local_deep_research
EXPOSE 5000
-CMD [ "python", "app.py", "allow_unsafe_werkzeug=True" ]
+CMD [ "python", "-m", "local_deep_research.web.app" ]
\ No newline at end of file