From 2061f8848bd2b02948b2b750f63b7f643fcd8772 Mon Sep 17 00:00:00 2001 From: Manmohan Sharma Date: Thu, 16 Apr 2026 13:46:53 -0700 Subject: [PATCH] fix(docker): add structlog + prometheus deps to auth and chat-api Dockerfiles Auth service was crash-looping with ModuleNotFoundError for prometheus_fastapi_instrumentator. Chat-api was also missing it. Co-Authored-By: Claude Opus 4.6 (1M context) --- services/auth/Dockerfile | 4 +++- services/chat-api/Dockerfile | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/services/auth/Dockerfile b/services/auth/Dockerfile index 0d968753..e154f33d 100644 --- a/services/auth/Dockerfile +++ b/services/auth/Dockerfile @@ -29,7 +29,9 @@ RUN uv pip install --system --no-cache \ "pyjwt>=2.9.0" \ "cryptography>=43.0.0" \ "slowapi>=0.1.9" \ - "python-multipart>=0.0.9" + "python-multipart>=0.0.9" \ + "structlog>=24.4.0" \ + "prometheus-fastapi-instrumentator>=7.0.0" COPY src /app/src diff --git a/services/chat-api/Dockerfile b/services/chat-api/Dockerfile index ed11ce41..4fd5ec7b 100644 --- a/services/chat-api/Dockerfile +++ b/services/chat-api/Dockerfile @@ -25,7 +25,8 @@ RUN uv pip install --system --no-cache \ "httpx>=0.27.0" \ "sse-starlette>=2.1.3" \ "structlog>=24.4.0" \ - "cachetools>=5.5.0" + "cachetools>=5.5.0" \ + "prometheus-fastapi-instrumentator>=7.0.0" COPY src /app/src