Add git to Dockerfile and httpx dependency

- Install git in Docker image for pip to clone git dependencies
- Add httpx package required by auth_service

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
giles
2026-01-11 12:11:51 +00:00
parent 0a31e1acfa
commit 358fbba7b2
2 changed files with 4 additions and 0 deletions

View File

@@ -2,6 +2,9 @@ FROM python:3.11-slim
WORKDIR /app WORKDIR /app
# Install git for pip to clone dependencies
RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf /var/lib/apt/lists/*
# Install dependencies # Install dependencies
COPY requirements.txt . COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt

View File

@@ -1,6 +1,7 @@
fastapi>=0.109.0 fastapi>=0.109.0
uvicorn>=0.27.0 uvicorn>=0.27.0
requests>=2.31.0 requests>=2.31.0
httpx>=0.27.0
cryptography>=42.0.0 cryptography>=42.0.0
bcrypt>=4.0.0 bcrypt>=4.0.0
python-jose[cryptography]>=3.3.0 python-jose[cryptography]>=3.3.0