Open
Description
I've noticed that the resulting s2i image starts the Node.js application using npm start.
This is a good idea since it's common practice and enables a developer to set flags etc, but it does result in two Node.js processes being launched, as seen in this screenshot:
We have the npm
process, and then the child node
process.
The npm
process is mostly idle, but does consume memory and adds overhead on startup.
Is it worth giving consideration to support a new environment variable that defines a shell script to use on startup instead?
Metadata
Metadata
Assignees
Labels
No labels