From b970f19d3119c2db97ab392250c5db6507ac6f37 Mon Sep 17 00:00:00 2001 From: Lars Varming Date: Sun, 9 Nov 2025 16:11:46 +0100 Subject: [PATCH] Add lightweight API client extras to standalone Docker image MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Includes support for all major LLM and embedder providers: - Databases: neo4j, falkordb - LLM providers: anthropic (Claude), google-genai (Gemini), groq - Embedders: voyageai, google-genai This allows users to switch between providers without rebuilding the Docker image. Keeps image size reasonable by excluding heavy dependencies like sentence-transformers. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- mcp_server/docker/Dockerfile.standalone | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mcp_server/docker/Dockerfile.standalone b/mcp_server/docker/Dockerfile.standalone index 6db22d95..836e8e16 100644 --- a/mcp_server/docker/Dockerfile.standalone +++ b/mcp_server/docker/Dockerfile.standalone @@ -34,9 +34,11 @@ ARG GRAPHITI_CORE_VERSION=0.22.0 COPY pyproject.toml uv.lock ./ # Remove the local path override for graphiti-core in Docker builds -# Install with BOTH neo4j and falkordb extras for maximum flexibility +# Install with database drivers and all lightweight API client extras for maximum flexibility +# Includes: neo4j, falkordb (databases), voyageai, anthropic, google-genai, groq (API clients) +# Excludes: sentence-transformers (huge), neptune, kuzu (rarely used) RUN sed -i '/\[tool\.uv\.sources\]/,/graphiti-core/d' pyproject.toml && \ - sed -i "s/graphiti-core\[falkordb\]>=0\.16\.0/graphiti-core[neo4j,falkordb]==${GRAPHITI_CORE_VERSION}/" pyproject.toml + sed -i "s/graphiti-core\[falkordb\]>=0\.16\.0/graphiti-core[neo4j,falkordb,voyageai,anthropic,google-genai,groq]==${GRAPHITI_CORE_VERSION}/" pyproject.toml # Install Python dependencies RUN --mount=type=cache,target=/root/.cache/uv \