mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-20 14:47:34 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
parent
bfa34a8a0e
commit
2061f8848b
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user