diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 086c335..3b881ed 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -33,7 +33,10 @@ if [ "$APP_ENV" != "production" ]; then echo "[entrypoint] Running migrations..." rm -f storage/framework/migrated php artisan migrate --force + echo "[entrypoint] Touching migrated file" touch storage/framework/migrated + echo "[entrypoint] Touched migrated file" + # boboko/core overrides lunar:install to skip the interactive prompts (migrate # confirm, admin creation, GitHub star) and just seed the idempotent store @@ -41,6 +44,7 @@ if [ "$APP_ENV" != "production" ]; then # product type. queue/scheduler wait on the marker above rather than running # this themselves, since the country import's check-then-insert isn't safe to # run concurrently. + echo "[entrypoint] Trying Lunar install" php artisan lunar:install --quiet || true fi