/heroku-bp-node-build

heroku buildpack for nodejs build-step

Primary LanguageShellMIT LicenseMIT

Heroku Buildpack for Node.js Build

Heroku buildpack for node apps with build step.

Requires the build script in package.json.

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.