fix: add git to Dockerfile for pip git+https dependencies

This commit is contained in:
giles
2026-01-07 13:09:59 +00:00
parent 7adb63face
commit 65746b60ac

View File

@@ -2,6 +2,9 @@ FROM python:3.11-slim
WORKDIR /app WORKDIR /app
# Install git for pip git+https 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