Be more explicit about npm-as-root (fixes #113)

As noted in the issue, the current phrasing sounds too much like security advice which one could easily ignore when building in a container.
This commit is contained in:
Jonas Herzig 2020-05-23 09:00:28 +02:00 committed by GitHub
parent 8fd7268c29
commit e74fe04d07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ git clone https://github.com/johni0702/mumble-web
cd mumble-web
npm install
```
Note that npm should not be ran as root, use an unprivileged user account instead.
Note that npm **must not** be ran as the root user (even in a container) because it will try to do special things which cause the build to fail, use a non-root user account instead.
The npm version is prebuilt and ready to use whereas the git version allows you
to e.g. customize the theme before building it.