Skip to content

Commit e0cf6e2

Browse files
author
David Barton
authored
Wrong username mentioned in docs
`app` should be `node`
1 parent 4ac0faf commit e0cf6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/BestPractices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Run with `NODE_ENV` set to `production`. This is the way you would pass in secre
1010

1111
## Non-root User
1212

13-
By default, Docker runs container as root which inside of the container can pose as a security issue. You would want to run the container as an unprivileged user wherever possible. The node images (with the exception of the `onbuild` variant) provide the `node` user for such purpose. The Docker Image can than be run with the `app` user in the following way:
13+
By default, Docker runs container as root which inside of the container can pose as a security issue. You would want to run the container as an unprivileged user wherever possible. The node images (with the exception of the `onbuild` variant) provide the `node` user for such purpose. The Docker Image can than be run with the `node` user in the following way:
1414

1515
```
1616
-u "node"

0 commit comments

Comments
 (0)