Closed cinhtau closed 2 years ago
Hey! Thanks, it looks good 🤩
I will carefully review it in the next few days. Once thing I would like to do is run the tests suite against the Docker image. That would ensure that we are able to build an image from the Dockerfile and that everything is working as expected.
I would also like to support reading/writing from stdin/stdout to allow to convert an AsciiDoc document to PDF without mounting a volume:
cat doc.adoc | docker run -i asciidoctor-web-pdf asciidoctor-web-pdf - > doc.pdf
I forgot I had already done some work: https://github.com/Mogztter/asciidoctor-web-pdf/pull/652 I will merge your changes with my branch.
I forgot I had already done some work: #652 I will merge your changes with my branch.
Maybe just close this PR and incorporate the changes you need.
After seeing your Dockerfile I understood that you build the application and copy it to the application folder.
superseded by #652
Thanks again for your great work, I've merged your changes into #652 and made a few adjustments.
Based on issue #306
https://github.com/Mogztter/asciidoctor-web-pdf/issues/306
I have added in the README the docker usage and a straightforward Dockerfile.
Everything works out of the box. As enhancement I propose to push it into the public docker registry or use the public github docker registry.