From 0859306ba21e4fedc96dc5df2e8599f6af75dee5 Mon Sep 17 00:00:00 2001 From: Ahmed Darrazi Date: Tue, 16 Dec 2025 20:22:02 +0100 Subject: [PATCH] bugfixes --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 86204ceb..422ad8c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -156,4 +156,4 @@ HEALTHCHECK --interval=60s --timeout=10s --start-period=30s --retries=5 \ CMD curl -f http://localhost:80/health || curl -f http://localhost:80/test.php || exit 1 # Start supervisor -CMD ["sh", "-c", "mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache && chown -R www-data:www-data storage bootstrap/cache && chmod -R 775 storage bootstrap/cache && if [ -f .env ]; then chown www-data:www-data .env || true; chmod 666 .env || true; fi && /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf"] +CMD ["sh", "-c", "mkdir -p storage/framework/cache storage/framework/sessions storage/framework/views storage/logs bootstrap/cache && chown -R www-data:www-data storage bootstrap/cache && chmod -R 775 storage bootstrap/cache && if [ -f .env ]; then chmod 666 .env; fi && php artisan optimize:clear && /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf"]