Issues with deploying for the first ime

Hi guys, I’m trying to deploy a rails app for the first time and running into an error. I have set my fly.toml as below and also created a volume and made a change to the storage.yml file. Thank you for your time and help.


I think there may be an issue with the build command within the fly.rake file. I have attached a screenshot here.

Is this an api only rails application? Using Rails for API-only Applications — Ruby on Rails Guides

assets:precompile is a part of Rails, but perhaps not for API only applications. If it isn’t needed, change fly.rake to read:

  task :build