FROM python:3.12-slim

WORKDIR /app

# Install infershrink from local source
COPY . /app/
RUN pip install --no-cache-dir -e ".[dev]" && \
    pip install --no-cache-dir pytest httpx

# Default: run all integration tests
CMD ["python", "-m", "pytest", "tests/integration/", "-v", "--tb=short"]
