# Minimal production image for the JFrog integration test: it installs the wheel built from
# ../sample_package so the image carries the same package the release-bundle flow promotes. Built by
# `vpu docker build` and pushed by `vpu docker push` (which use `jf docker` under CI to record the
# image into the same build-info as the wheel).
FROM python:3.13-alpine

ENV PYTHONDONTWRITEBYTECODE=1

# The wheel is built into ./dist/ by the workflow before `vpu docker build` runs. Bind-mount it in
# so it does not become an image layer of its own.
RUN --mount=type=bind,source=./dist/,target=/pip-packages/ \
    pip install --no-cache-dir --no-compile /pip-packages/*.whl

# The sample package ships no console script; import it as a trivial smoke check of the layer.
ENTRYPOINT ["python", "-c", "import vpu_jf_integration_sample; print('ok')"]
