I think this should suffice to produce the artifacts. But pytest-html and ansi2html need to be added to the docker images.
pytest-html
ansi2html