FROM python:3.13-slim

ARG WHEEL=dist/*.whl

LABEL org.opencontainers.image.source="https://github.com/reignonu13/agent-jiraXray-cli"
LABEL org.opencontainers.image.description="CLI for Jira Xray test management and Zephyr migration workflows"
LABEL org.opencontainers.image.licenses="MIT"

COPY ${WHEEL} /tmp/
RUN python -m pip install --no-cache-dir /tmp/*.whl \
    && rm /tmp/*.whl

ENTRYPOINT ["jiraxray-cli"]
CMD ["--help"]
