Codruț Constantin Gușoi
c3694d8baa
Adds instructions for modifying the `node` user ( #328 )
...
Also highlights the `Best Practices` section in the `README.md` file so
the new instructions are easier to find.
Special thanks to:
* @blueimp for the uid/gid change command
* @LaurentGoderre for the user rename command
Refs #289
2017-07-25 15:45:47 +02:00
Florian Traber
1efc018dad
fix: init flag is included in docker only after 1.13 not 1.3
...
see https://docs.docker.com/release-notes/docker-engine/#1130-2017-01-18
2017-07-11 09:13:44 +02:00
Peter Petrov
bc7cd93b73
Update BestPractices.md
2017-05-18 17:10:52 +03:00
Peter Dave Hello
f5113b03be
Add "Table of Contents" in README and docs
2017-05-04 00:02:07 +08:00
Steven
9228dbd5b1
Update BestPractices.md to remove alpine user
...
Since the `node` user was added to the alpine variant, there is no need to recommend that they need to create the `node` user. In fact, it would break. Only the `onbuild` variant does not have the user.
I also added the `USER node` syntax to show how to [set the user](https://docs.docker.com/engine/reference/builder/#user ) in the dockerfile.
2017-04-20 09:09:57 -04:00
William Blankenship
5e45e63704
Document init wrapper
...
Closes #323
2017-02-02 16:19:52 -05:00
Steven
7183790a18
Change user from `app` to `node` for consistency
2016-12-28 14:30:04 -05:00
Steven
26ba1103c1
Update BestPractices.md with alpine user
...
Added entry to **Non-root User** section to show adding user & group in the alpine variant since the commands are a little different.
2016-12-28 14:22:26 -05:00
Tim Brust
5feca06d21
docs: fix best-practices memory heading level
2016-12-21 14:10:12 +01:00
Christopher Horrell
87b641c1f3
Merge pull request #270 from davidbarton/patch-2
...
In docs example use home dir as work dir
2016-11-23 05:53:41 -08:00
David Barton
70b9081d18
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"`
2016-11-15 13:53:11 +01:00
David Barton
e0cf6e2d24
Wrong username mentioned in docs
...
`app` should be `node`
2016-11-15 13:49:11 +01:00
Laurent Goderre
435636ab11
Updated the non-root section of the Best Practices
2016-11-07 10:02:54 -05:00
Steven
6c64e29389
docs: Fix minor typos in BestPractices.md
...
Add commas and change "inn" to "in".
2016-07-07 12:04:50 -04:00
William Blankenship
0e0c74ad89
Create BestPractices.md
...
Best Practices
2016-03-16 16:56:58 -04:00