Fix dev dependencies being installed in Docker containers

Added --no-group dev flag to uv sync in Dockerfiles. The --no-dev flag only
excludes [project.optional-dependencies].dev, but doesn't exclude
[dependency-groups].dev which we now use.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Daniel Chalef 2025-11-09 09:15:02 -08:00
parent 4d28fce6a0
commit 2c45f6fe0c
2 changed files with 4 additions and 4 deletions

View file

@ -48,9 +48,9 @@ RUN sed -i '/\[tool\.uv\.sources\]/,/graphiti-core/d' pyproject.toml && \
rm -f uv.lock && \
uv lock
# Install Python dependencies
# Install Python dependencies (exclude dev dependency group)
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --no-dev
uv sync --no-dev --no-group dev
# Store graphiti-core version
RUN echo "${GRAPHITI_CORE_VERSION}" > /app/mcp/.graphiti-core-version

View file

@ -42,9 +42,9 @@ RUN sed -i '/\[tool\.uv\.sources\]/,/graphiti-core/d' pyproject.toml && \
rm -f uv.lock && \
uv lock
# Install Python dependencies
# Install Python dependencies (exclude dev dependency group)
RUN --mount=type=cache,target=/root/.cache/uv \
uv sync --no-dev
uv sync --no-dev --no-group dev
# Store graphiti-core version
RUN echo "${GRAPHITI_CORE_VERSION}" > /app/mcp/.graphiti-core-version