diff --git a/frankenphp/docker-entrypoint.sh b/frankenphp/docker-entrypoint.sh index c62faad90..0f6716dd5 100755 --- a/frankenphp/docker-entrypoint.sh +++ b/frankenphp/docker-entrypoint.sh @@ -26,6 +26,10 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then composer install --prefer-dist --no-progress --no-interaction fi + # Display information about the current project + # Or about an error in project initialization + php bin/console -V + if grep -q ^DATABASE_URL= .env; then echo 'Waiting for database to be ready...' ATTEMPTS_LEFT_TO_REACH_DATABASE=60