diff options
| author | Maykin-99 <73132218+Maykin-99@users.noreply.github.com> | 2021-05-05 08:16:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-05 08:16:11 +0000 |
| commit | 074df7637b1562f37fd79f243b812a7c682537b2 (patch) | |
| tree | c84e6c5ea43fabb044cf1c746912a42d0542eb6b /assets/js | |
| parent | 4fc8905ebf2a66699018ed8e6352ccd23b965d7d (diff) | |
| download | invidious-074df7637b1562f37fd79f243b812a7c682537b2.tar.gz invidious-074df7637b1562f37fd79f243b812a7c682537b2.tar.bz2 invidious-074df7637b1562f37fd79f243b812a7c682537b2.zip | |
Set correct permissions in Dockerfile
When having a `umask` of `xx7` (e.g. `027`) on the host machine then the directories `assets`, `config` and `locales` don't become readable to the `invidious` user inside the Docker container since the `COPY` commands result in files owned by `root` with the same file permissions like on the host (`640` in my case).
By adding `--chown=invidious` to the `COPY` command we ensure the `invidious` user can read these files.
Diffstat (limited to 'assets/js')
0 files changed, 0 insertions, 0 deletions
