fix(ci): install curl in embedding-service image for healthcheck

python:3.12-slim does not include curl — every healthcheck attempt failed
silently, causing the container to be declared unhealthy after all retries.
This commit is contained in:
Pier-Jean Malandrino 2026-04-10 22:22:50 +02:00
parent 8e7589df8c
commit 73e9c66ea6

View file

@ -2,6 +2,8 @@ FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends curl && rm -rf /var/lib/apt/lists/*
# Install dependencies first (cache layer)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt