Fix file permissions
Using the user's uid and gid in the container prevents the output files to belong to root.
This commit is contained in:
parent
59fa9fb3ab
commit
5f616782fd
@ -71,7 +71,7 @@ If the command isn't found, ensure your `$PATH` contains `~/.composer/vendor/bin
|
|||||||
Or if you wish to use Docker, the start of the command will be :
|
Or if you wish to use Docker, the start of the command will be :
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run --rm -it -w /build -v "$PWD":/build daux/daux.io daux
|
docker run --rm -it -w /build -v "$PWD":/build -u "$(id -u):$(id -g)" daux/daux.io daux
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run on a server
|
## Run on a server
|
||||||
|
Loading…
Reference in New Issue
Block a user