Skip to content
Deploy apps from subdirectories to Heroku
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Use per-subdir value for CACHE_DIR (#15) Dec 10, 2018

Heroku Buildpack Subdir

Allows you to compose multiple buildpacks with apps in multiple directories. For information regarding adding multiple buildpacks, check out the official docs here.

This buildpack must be at index 1 and all buildpacks following should be at index 2 through N.


$ heroku buildpacks:set

Example .buildpacks file:

$ cat .buildpacks

This would run:

  • The first buildpack would cd into an api directory and use a ruby buildpack.
  • The second would cd into a web directory and use a node.js buildpack.
  • The third would be in the root directory and use a go buildpack.



You can’t perform that action at this time.