FROM python:3.11-slim

WORKDIR /app

# Copy project
COPY pyproject.toml README.md /app/
COPY src/ /app/src/
COPY examples/ /app/examples/
COPY tests/ /app/tests/

# Install (no runtime deps; installs CLI entrypoint)
RUN pip install --no-cache-dir .

ENTRYPOINT ["spectre"]
