nitro icon indicating copy to clipboard operation
nitro copied to clipboard

heroku preset

Open danielroe opened this issue 3 years ago • 0 comments

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:

  1. create our own heroku buildpack
  2. 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

danielroe avatar Apr 08 '22 11:04 danielroe