Example of HTML to PDF conversion problem with dockerized Flask application using pdfkit and wkhtmltopdf.
- image encoding
- custom stylesheets
- page breaks
wkhtmltopdf
options
- docker, and preferably
docker compose
- rename
.env.sample
to.env
Have not run un-dockerized as it requires wkhtmltopdf
installation on system.
docker compose up -d --build
Play at 127.0.0.1:5000
wkhtmltopdf
dependencies dokerized by R.S. Thank you, Mate!