I’m trying to migrate my app from Heroku to Fly.io. I was done with the overall app configuration. But In Heroku I’m using two buildpacks Heroku Puppeteer and Google Chrome Buildpack for running the app. So I want to configure similar buildpacks in the fly as well.
If someone has any idea of how to configure it, please help. That would be really appreciated.
Assuming you are not running Rails 7 with importmaps, you already have node installed the Dockerfile, and presumably puppeteer in your package.json. If so, puppeter will be installed for you by yarn.
Excellent. It is open source, so if you ever get really stuck, post reproduction instructions and I will try to help. I can’t guarantee 24/7 support, but I am interested in seeing applications like this one being well supported by fly.io.
As an example, things like “if you have a package.json file, and it mentions puppeteer, then add the following to your Dockerfile” is an example of instructions that computers are good at. Compare the Dockerfile that fly launch produced for you with the following: fly.io-rails/Dockerfile.erb at main · rubys/fly.io-rails · GitHub - that’s not exactly the template you used, but it is work in progress for supporting Terraform · Fly Docs
I also see that you send and receive mail. Working through that with a real application is something I am very much interested in.
Incidentally, I know of a small business that could use an app like this one. Where is the best place to ask questions? Github issues?