HTTP Service to convert HTML to PDF. Using image from https://github.com/Surnet/docker-wkhtmltopdf
We used alpine linux instead of ubuntu to drasticly decrease the container size.
Furthermore, this repo is called export, but is actually a converter. This was done to remove cognitive load for our developers, as all our services are called exporter.
It was designed to run as a microservice. So make sure that you have a security layer to encrypt the traffic.
docker build -t scienta/html-pdf-export .
docker run -it --rm -p 8000:8000 scienta/html-pdf-export
curl http://localhost:8000 --data @file.html > file.pdf
More examples on /examples.