Commit 3d1bbefb22df05a0803002c05ecb2626ba5db4a7
1 parent
d72309ce42
Exists in
master
and in
4 other branches
Set ownership for /var/www
Showing 1 changed file with 2 additions and 1 deletions
api/Dockerfile
View file @
3d1bbef
... | ... | @@ -34,7 +34,8 @@ |
34 | 34 | |
35 | 35 | # Add user for laravel application |
36 | 36 | RUN groupadd -g 1000 www && \ |
37 | - useradd -u 1000 -ms /bin/bash -g www www | |
37 | + useradd -u 1000 -ms /bin/bash -g www www && \ | |
38 | + chown 1000:1000 /var/www | |
38 | 39 | |
39 | 40 | # Copy existing application directory contents with correct permissions |
40 | 41 | COPY --chown=1000:1000 . /var/www |