File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 7
7
8
8
The official Node.js docker image, made with love by the node community.
9
9
10
+ ## Table of Contents
11
+
12
+ - [ What is Node.js?] ( #what-is-nodejs )
13
+ - [ Usage] ( #usage )
14
+ - [ How to use this image] ( #how-to-use-this-image )
15
+ - [ Create a ` Dockerfile ` in your Node.js app project] ( #create-a-dockerfile-in-your-nodejs-app-project )
16
+ - [ Notes] ( #notes )
17
+ - [ Run a single Node.js script] ( #run-a-single-nodejs-script )
18
+ - [ Verbosity] ( #verbosity )
19
+ - [ Dockerfile] ( #dockerfile )
20
+ - [ Docker Run] ( #docker-run )
21
+ - [ NPM run] ( #npm-run )
22
+ - [ Image Variants] ( #image-variants )
23
+ - [ ` node:<version> ` ] ( #nodeversion )
24
+ - [ ` node:alpine ` ] ( #nodealpine )
25
+ - [ ` node:onbuild ` ] ( #nodeonbuild )
26
+ - [ ` node:slim ` ] ( #nodeslim )
27
+ - [ License] ( #license )
28
+ - [ Supported Docker versions] ( #supported-docker-versions )
29
+ - [ Governance and Current Members] ( #governance-and-current-members )
30
+ - [ Docker Working Group Members] ( #docker-working-group-members )
31
+ - [ Docker Working Group Collaborators] ( #docker-working-group-collaborators )
32
+
10
33
## What is Node.js?
11
34
12
35
Node.js is a platform built on Chrome's JavaScript runtime for easily building
Original file line number Diff line number Diff line change 1
1
# Docker and Node.js Best Practices
2
2
3
+ ## Table of Contents
4
+
5
+ - [ Environment Variables] ( #environment-variables )
6
+ - [ Handling Kernel Signals] ( #handling-kernel-signals )
7
+ - [ Non-root User] ( #non-root-user )
8
+ - [ Memory] ( #memory )
9
+ - [ CMD] ( #cmd )
10
+ - [ Docker Run] ( #docker-run )
11
+ - [ Security] ( #security )
12
+
3
13
## Environment Variables
4
14
5
15
Run with ` NODE_ENV ` set to ` production ` . This is the way you would pass in secrets and other runtime configurations to your application as well.
You can’t perform that action at this time.
0 commit comments