nitro
nitro copied to clipboard
heroku preset
heroku is very customisable but mostly this is done with buildpacks. Here's the node one.
By default the node buildpack will build, prune dev dependencies + package the entire app folder into a docker image. This is lots more space than Nitro needs. Options:
- create our own heroku buildpack
- create docker image (which can be shared with other platforms): https://github.com/unjs/nitro/issues/54
If you use the default heroku buildpack, you'll need to run heroku config:set HOST=0.0.0.0