Files
sifatbaho-php/_docker/app/entrypoint.sh
husanjon e68efae28a Fix create/edit pages missing vars; add storage:link entrypoint
- AutoController create/edit: add purposeCases, dillers
- EstateController create/edit: add purposeCases, districts, dillers
- Add entrypoint.sh to run storage:link on container start

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-06 06:32:13 +05:00

15 lines
234 B
Bash

#!/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