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"`
This commit is contained in:
David Barton 2016-11-15 13:53:11 +01:00 committed by GitHub
parent 4ac0faf1ff
commit 70b9081d18
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ $ docker run \
-e "NODE_ENV=production" \
-u "node" \
-m "300M" --memory-swap "1G" \
-w "/usr/src/app" \
-w "/home/node/app" \
--name "my-nodejs-app" \
node [script]
```