diff --git a/api/Dockerfile b/api/Dockerfile index 53e21ba..28bd041 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -34,7 +34,8 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local # Add user for laravel application RUN groupadd -g 1000 www && \ - useradd -u 1000 -ms /bin/bash -g www www + useradd -u 1000 -ms /bin/bash -g www www && \ + chown 1000:1000 /var/www # Copy existing application directory contents with correct permissions COPY --chown=1000:1000 . /var/www