diff --git a/Dockerfile b/Dockerfile index 829742bc..1d8adebd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-di RUN docker-php-ext-install pdo pdo_mysql zip gd WORKDIR /var/www COPY . /var/www -RUN chmod -R 777 /var/www/storage +RUN chown -R www-data:www-data /var/www RUN composer install RUN php artisan clear-compiled