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:
parent
4ac0faf1ff
commit
70b9081d18
|
@ -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]
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue