# Author: Simon-Pierre Boucher # Mail: contact@spboucher.ai FROM python:3.12-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY config/ config/ COPY indexer/ indexer/ COPY api/ api/ COPY scripts/ scripts/ COPY run_indexer.py . # same image runs both roles; compose picks the command CMD ["python", "run_indexer.py"]