Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing wkhtmltopdf on Python 3.6 Alpine

Has anyone been able to install wkhtmltopdf on python:3.6.0-alpine.

I have tried all the solutions present on the internet. I need to use pdfkit which internally uses wkhtmltopython to convert html to pdf.

like image 974
sprksh Avatar asked Jul 28 '26 21:07

sprksh


1 Answers

You might need wkhtmltopdf and xvfb to run on a server:

apk add wkhtmltopdf xvfb
like image 143
Alex M Avatar answered Aug 01 '26 01:08

Alex M



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!