Update Dockerfile

This commit is contained in:
MartinOscar 2024-10-14 23:05:47 +02:00 committed by GitHub
parent 04b251d125
commit b14f6e1645
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,8 +38,7 @@ RUN touch .env
RUN composer install --no-dev --optimize-autoloader
# Set file permissions
RUN chmod -R 755 storage \
&& chmod -R 755 bootstrap/cache
RUN chmod -R 755 storage bootstrap/cache
# Add scheduler to cron
RUN echo "* * * * * php /var/www/html/artisan schedule:run >> /dev/null 2>&1" | crontab -u www-data -