chore(docker) update Dockerfile

This commit is contained in:
Miguel Nogueira 2023-08-15 06:13:27 +01:00
parent bced142657
commit 432db15386
No known key found for this signature in database
GPG Key ID: 43EF15DB0CC86DDD

View File

@ -24,9 +24,10 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
RUN composer update && composer install
RUN npm ci
# Set Laravel's permissions, though this could be done in the COPY command directly
RUN chown -R www-data:www-data /var/www/html/storage
# Set Laravel's permissions and setup storage, though this could be done in the COPY command directly
RUN chown -R www-data:www-data .
RUN chmod -R 755 /var/www/html/storage
RUN php artisan storage:link
EXPOSE 9000