Fix entrypoint: remove set -e so php-fpm always starts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-06 06:39:16 +05:00
parent e68efae28a
commit c2265a155d

View File

@@ -1,14 +1,11 @@
#!/bin/sh #!/bin/sh
set -e
cd /var/www cd /var/www
# Create storage:link if not exists # Create storage symlink (ignore errors)
if [ ! -L /var/www/public/storage ]; then php artisan storage:link --force 2>/dev/null || true
php artisan storage:link --force
fi
# Cache config # Cache config (ignore errors)
php artisan config:cache --no-ansi 2>/dev/null || true php artisan config:cache --no-ansi 2>/dev/null || true
exec php-fpm exec php-fpm