From 2e3958e89619685745d98a75948d6d62ab406805 Mon Sep 17 00:00:00 2001 From: Costas Papastathis Date: Tue, 18 Oct 2022 17:14:00 +0300 Subject: [PATCH] adding documentation about NODE_CMD option --- 14-minimal/README.md | 3 +++ 14/README.md | 3 +++ 16-minimal/README.md | 4 ++++ 16/README.md | 3 +++ 18-minimal/README.md | 3 +++ 18/README.md | 3 +++ 6 files changed, 19 insertions(+) diff --git a/14-minimal/README.md b/14-minimal/README.md index c68b4cc2..126723e1 100644 --- a/14-minimal/README.md +++ b/14-minimal/README.md @@ -212,6 +212,9 @@ Application developers can use the following environment variables to configure **`NPM_RUN`** Select an alternate / custom runtime mode, defined in your `package.json` file's [`scripts`](https://docs.npmjs.com/misc/scripts) section (default: npm run "start"). These user-defined run-scripts are unavailable while `DEV_MODE` is in use. +**`NODE_CMD`** + When specified (e.g.Specify `NODE_CMD="node server.js"`) the `NODE_CMD` is executed by the `init-wrapper` script, which handles reaping zombie processes and signal forwarding (SIGINT, SIGTERM) to Node.js application. + #### Additional variables used in the full-sized image **`HTTP_PROXY`** diff --git a/14/README.md b/14/README.md index e51d686c..34687b30 100644 --- a/14/README.md +++ b/14/README.md @@ -142,6 +142,9 @@ Application developers can use the following environment variables to configure **`NPM_RUN`** Select an alternate / custom runtime mode, defined in your `package.json` file's [`scripts`](https://docs.npmjs.com/misc/scripts) section (default: npm run "start"). These user-defined run-scripts are unavailable while `DEV_MODE` is in use. +**`NODE_CMD`** + When specified (e.g.Specify `NODE_CMD="node server.js"`) the `NODE_CMD` is executed by the `init-wrapper` script, which handles reaping zombie processes and signal forwarding (SIGINT, SIGTERM) to Node.js application. + **`HTTP_PROXY`** Use an npm proxy during assembly diff --git a/16-minimal/README.md b/16-minimal/README.md index b7314764..70e0ad57 100644 --- a/16-minimal/README.md +++ b/16-minimal/README.md @@ -212,6 +212,10 @@ Application developers can use the following environment variables to configure **`NPM_RUN`** Select an alternate / custom runtime mode, defined in your `package.json` file's [`scripts`](https://docs.npmjs.com/misc/scripts) section (default: npm run "start"). These user-defined run-scripts are unavailable while `DEV_MODE` is in use. +**`NODE_CMD`** + When specified (e.g.Specify `NODE_CMD="node server.js"`) the `NODE_CMD` is executed by the `init-wrapper` script, which handles reaping zombie processes and signal forwarding (SIGINT, SIGTERM) to Node.js application. + + #### Additional variables used in the full-sized image **`HTTP_PROXY`** diff --git a/16/README.md b/16/README.md index 6103508e..d578e2aa 100644 --- a/16/README.md +++ b/16/README.md @@ -142,6 +142,9 @@ Application developers can use the following environment variables to configure **`NPM_RUN`** Select an alternate / custom runtime mode, defined in your `package.json` file's [`scripts`](https://docs.npmjs.com/misc/scripts) section (default: npm run "start"). These user-defined run-scripts are unavailable while `DEV_MODE` is in use. +**`NODE_CMD`** + When specified (e.g.Specify `NODE_CMD="node server.js"`) the `NODE_CMD` is executed by the `init-wrapper` script, which handles reaping zombie processes and signal forwarding (SIGINT, SIGTERM) to Node.js application. + **`HTTP_PROXY`** Use an npm proxy during assembly diff --git a/18-minimal/README.md b/18-minimal/README.md index 3f48f08a..6c660a2f 100644 --- a/18-minimal/README.md +++ b/18-minimal/README.md @@ -212,6 +212,9 @@ Application developers can use the following environment variables to configure **`NPM_RUN`** Select an alternate / custom runtime mode, defined in your `package.json` file's [`scripts`](https://docs.npmjs.com/misc/scripts) section (default: npm run "start"). These user-defined run-scripts are unavailable while `DEV_MODE` is in use. +**`NODE_CMD`** + When specified (e.g.Specify `NODE_CMD="node server.js"`) the `NODE_CMD` is executed by the `init-wrapper` script, which handles reaping zombie processes and signal forwarding (SIGINT, SIGTERM) to Node.js application. + #### Additional variables used in the full-sized image **`HTTP_PROXY`** diff --git a/18/README.md b/18/README.md index a97be057..919e5aac 100644 --- a/18/README.md +++ b/18/README.md @@ -142,6 +142,9 @@ Application developers can use the following environment variables to configure **`NPM_RUN`** Select an alternate / custom runtime mode, defined in your `package.json` file's [`scripts`](https://docs.npmjs.com/misc/scripts) section (default: npm run "start"). These user-defined run-scripts are unavailable while `DEV_MODE` is in use. +**`NODE_CMD`** + When specified (e.g.Specify `NODE_CMD="node server.js"`) the `NODE_CMD` is executed by the `init-wrapper` script, which handles reaping zombie processes and signal forwarding (SIGINT, SIGTERM) to Node.js application. + **`HTTP_PROXY`** Use an npm proxy during assembly