fix: resolve deployment crashes in coordinator and API services

Coordinator: install all dependencies from pyproject.toml instead of
hardcoded subset (missing slowapi, anthropic, opentelemetry-*).

API: FederationAgentService now gracefully disables when orchestrator
URL is not configured instead of throwing and crashing the app.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-10 09:41:54 -06:00
parent f3694592cc
commit ab64583951
2 changed files with 20 additions and 10 deletions

View File

@@ -15,14 +15,9 @@ COPY pyproject.toml .
# Create virtual environment and install dependencies
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY src/ ./src/
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir hatchling && \
pip install --no-cache-dir \
fastapi>=0.109.0 \
uvicorn[standard]>=0.27.0 \
pydantic>=2.5.0 \
pydantic-settings>=2.1.0 \
python-dotenv>=1.0.0
pip install --no-cache-dir .
# Production stage
FROM python:3.11-slim