# Argus CLI, packaged once and reused by every application repo's Jenkinsfile via
# `docker run` — see vars/argusReview.groovy. This image is built/pushed from *this*
# repo; application repos never build it themselves.
FROM python:3.12-slim

RUN pip install --no-cache-dir uv

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

RUN uv sync --frozen

ENV PATH="/app/.venv/bin:${PATH}"
ENTRYPOINT ["argus"]
CMD ["--help"]
