Commit 6480542c3383776e5b2c67eb68bfc4b6b985fa02
1 parent
0c97431ec9
Exists in
master
and in
4 other branches
No need for copying files twice
Showing 1 changed file with 1 additions and 4 deletions
api/Dockerfile
View file @
6480542
... | ... | @@ -36,10 +36,7 @@ |
36 | 36 | RUN groupadd -g 1000 www |
37 | 37 | RUN useradd -u 1000 -ms /bin/bash -g www www |
38 | 38 | |
39 | -# Copy existing application directory contents | |
40 | -COPY . /var/www | |
41 | - | |
42 | -# Copy existing application directory permissions | |
39 | +# Copy existing application directory contents with correct permissions | |
43 | 40 | COPY --chown=www:www . /var/www |
44 | 41 | |
45 | 42 | # Copy PHP configuration |