Skip to content

Commit

Permalink
adding documentation about NODE_CMD option
Browse files Browse the repository at this point in the history
  • Loading branch information
pacostas committed Oct 18, 2022
1 parent 72896d2 commit 2e3958e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 14-minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`**
Expand Down
3 changes: 3 additions & 0 deletions 14/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions 16-minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`**
Expand Down
3 changes: 3 additions & 0 deletions 16/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 3 additions & 0 deletions 18-minimal/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`**
Expand Down
3 changes: 3 additions & 0 deletions 18/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2e3958e

Please sign in to comment.