fix permission deined issue

This commit is contained in:
Jack Goh
2018-07-18 19:02:51 +08:00
parent f17ce7e159
commit cd2e06c507
3 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ RUN docker-php-ext-install pdo pdo_mysql zip gd
WORKDIR /var/www
COPY . /var/www
RUN chown -R www-data:www-data /var/www
RUN chmod 777 /var/www/storage/logs/laravel.log
RUN chmod -R 777 /var/www/storage
RUN composer install
RUN php artisan clear-compiled