From febdebf3dd6c43709cd0c44613564ace5ed356fc Mon Sep 17 00:00:00 2001 From: Chaim Date: Mon, 13 Apr 2026 17:35:26 +0000 Subject: [PATCH] fix: install dependencies directly instead of building package Hatchling couldn't find the package directory. Since we run the app directly with uvicorn (not as an installed library), install deps explicitly in Dockerfile. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8d6c181..f4aed7e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,15 @@ FROM python:3.13-slim WORKDIR /app -# Install dependencies +# Copy application first (needed for pip install) COPY pyproject.toml . -RUN pip install --no-cache-dir . - -# Copy application COPY api/ api/ COPY mcp_server/ mcp_server/ COPY config/ config/ +# Install dependencies only (not the project itself) +RUN pip install --no-cache-dir fastapi "uvicorn[standard]" httpx pydantic openai + # Create data directory for skills/memory RUN mkdir -p /opt/data/skills /opt/data/memory