Chad
8bf7981b90
* Only check the variable if it is set, avoid a log error. * Pipe errors to SDOUT in case that's why Docker is not showing NPM progress. * Two messages seemed very similar. Differentiate them. * Check and install each dependency separately in case a lighter version is already installed. * Don't require sudo if running as root. * Use node instead of relying on shebang. * Allow doing "npm start". * Remove redirects, did not help see progress. * Add a note when sudo is used. * Fix node interpretor location to be arbitrary. * Woops, need to keep advisories if the value is not set to false. * Remove warning about apt CLI. Allow npm start to do dependencies. * `npm start` is not magic, still need to run the install. * Have `npm start` execute the main run script rather than bypassing dependency checks. * Use PHP-CLI, smaller install size and more appropriate since only running local scripts.
9 lines
98 B
JSON
9 lines
98 B
JSON
{
|
|
"dependencies": {
|
|
"express": ">=4.18.1"
|
|
},
|
|
"scripts": {
|
|
"start": "./run.sh"
|
|
}
|
|
}
|