heroku-bp-node-build

by carloluis

GitHub Readme.md

Heroku Buildpack for Node.js Build

GitHub license GitHub release

Heroku buildpack for node apps with build step.

Requires build task defined in package.json scripts.

Configure from CLI

Use after nodejs buildpack:

# create the app with nodejs buildpack
heroku create my-app --buildpack heroku/nodejs

# add heroku-bp-node-build
heroku buildpacks:add --index 2 https://github.com/carloluis/heroku-bp-node-build

Configure from app.json manifest:

{
    "buildpacks": [
        {
            "url": "heroku/nodejs"
        },
        {
            "url": "https://github.com/carloluis/heroku-bp-node-build"
        }
    ]
}

Locking to a buildpack version

Lock your buildpack to one specific version:

  • First, find the version you want from buildpack versions.
  • Then, specify that version with buildpacks:set
heroku buildpacks:set https://github.com/carloluis/heroku-bp-node-build#v0.1.0 -a my-app

More

More info on buildpacks here.

License

MIT © Carloluis