# Production image for the suredata-client CLI (see README for usage).
FROM python:3.14-slim

WORKDIR /app

# Install uv for reproducible dependency sync from the lockfile.
COPY --from=ghcr.io/astral-sh/uv:0.7 /uv /usr/local/bin/uv

COPY pyproject.toml uv.lock README.md ./
COPY src ./src

RUN uv sync --frozen --no-dev --no-editable

ENV PATH="/app/.venv/bin:${PATH}"

ENTRYPOINT ["suredata-client"]
CMD ["--help"]
