Skip to content

Commit 70b9081

Browse files
author
David Barton
authored
In docs example change home dir for work dir
I think user home dir works better instead of `-w "/usr/src/app"` use `-w "/home/node/app"`
1 parent 4ac0faf commit 70b9081

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
@@ -48,7 +48,7 @@ $ docker run \
4848
-e "NODE_ENV=production" \
4949
-u "node" \
5050
-m "300M" --memory-swap "1G" \
51-
-w "/usr/src/app" \
51+
-w "/home/node/app" \
5252
--name "my-nodejs-app" \
5353
node [script]
5454
```

0 commit comments

Comments
 (0)