Use buildpack from Heroku

I’m new to fly.io and recently I wanted to move my Node.JS Discord Bot from Heroku. Everything went smoothly except one thing - I’m using image scraper package, that is using puppeteer.

const Scraper = require("images-scraper"); const scraper = new Scraper({ puppeteer: { headless: true, args: ["--no-sandbox"], }, safe: true, });

On Heroku I had to add this buildpack:


But I can’t do it on fly.io or at least I can’t find out how. Is there a way to make it work?

This is the console error:

Hi @Spcxx it looks like the following answer applies here:

If third-party buildpacks aren’t working for you, a Dockerfile deploy probably makes sense.