Closed brandonkal closed 5 years ago
Node builds do not function, and it appears to be as a result of no defined processes in launch.toml (which is not added here).
git clone https://github.com/heroku/node-js-getting-started.git cd node-js-getting-started pack build --builder heroku/buildpacks:18 js-heroku docker run --rm -p 8080:8080 js-heroku
Error: failed to launch: determine start command: process type web was not found The docker file built is present on dockerhub at brandonkal/js-heroku
brandonkal/js-heroku
As discussed on Slack, this works: docker run -p 8080:8080 js-heroku "npm start"
docker run -p 8080:8080 js-heroku "npm start"
@brandonkal This is fixed with https://github.com/heroku/nodejs-npm-buildpack/pull/11, so I'm going to close this as it is resolved.
Node builds do not function, and it appears to be as a result of no defined processes in launch.toml (which is not added here).
Given:
Result
Error: failed to launch: determine start command: process type web was not found The docker file built is present on dockerhub at
brandonkal/js-heroku
As discussed on Slack, this works:
docker run -p 8080:8080 js-heroku "npm start"