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
set -e
cd /var/www
# Create storage:link if not exists
if [ ! -L /var/www/public/storage ]; then
php artisan storage:link --force
fi
# Create storage symlink (ignore errors)
php artisan storage:link --force 2>/dev/null || true
# Cache config
# Cache config (ignore errors)
php artisan config:cache --no-ansi 2>/dev/null || true
exec php-fpm