AILIXIR Bot commited on
Commit ·
2befea3
1
Parent(s): e07ea65
Auto-sync: 8f430410cfbc3e88bd2e4727c597b960c510980a
Browse files20 unmodified lines21222324252620 unmodified linesecho "Skipping migrations because RUN_MIGRATIONS=${RUN_MIGRATIONS}"fi# Source RUN_MODE from .env if not already set (HF Spaces sync writes it there)if [ -z "${RUN_MODE}" ] && [ -f /var/www/html/.env ]; thenRUN_MODE=$(grep -oP '^RUN_MODE=\K.*' /var/www/html/.env 2>/dev/null | head -1 || true)20 unmodified lines212223242526272829303120 unmodified linesecho "Skipping migrations because RUN_MIGRATIONS=${RUN_MIGRATIONS}"fi# Auto-generate APP_KEY on first boot if not set via env or .envif [ -z "${APP_KEY}" ] && ! grep -q '^APP_KEY=' /var/www/html/.env 2>/dev/null; thenphp artisan key:generate --force --no-interactionfi# Source RUN_MODE from .env if not already set (HF Spaces sync writes it there)if [ -z "${RUN_MODE}" ] && [ -f /var/www/html/.env ]; thenRUN_MODE=$(grep -oP '^RUN_MODE=\K.*' /var/www/html/.env 2>/dev/null | head -1 || true)
docker/entrypoint.sh+5