Detection
Uffizzi will detect your repository as a Node.js app if it has any of the following files at its root:
package.json
for NPM projects
Execution
In order of precedence, Uffizzi will execute the following commands if their configurations are present:
- Procfile buildpack will execute
web
command if present - NPM buildpack will execute
npm start
(With NODE_ENV=production) if astart
command is present in package.json - Nodejs buildpack will execute
node server.js
ornode index.js
if they are present
Troubleshooting
If Uffizzi cannot auto-detect your app, try one of the following troubleshooting methods:
- Remove
package-lock.json
, then try building again - Build and import your own Docker image