Using wkhtmltopdf on fly.io

Hello, I’m creating a web site that needs to generate PDF files. I decided to use wkhtmltopdf (through pdf-generator library). When trying to deploy my application to fly.io I’m getting an error because it needs the wkhtmltopdf executable. Any way of doing this? is it even possible?
Thanks.

1 Like

What kind of app are you running? You should be able to add wkhtmltopdf to your app image. If you’re using a Dockerfile it might even be easy.

Thanks Kurt, your response pointed me to the right direction and I got it working now.

The app is an internal invoice system for my company.

Thanks again for your help. Fly.io is indeed great.