#!/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 # Cache config php artisan config:cache --no-ansi 2>/dev/null || true exec php-fpm