8000 Added project initializability check in docker-entrypoint.sh · dunglas/symfony-docker@6707f3d · GitHub
[go: up one dir, main page]

Skip to content

Commit 6707f3d

Browse files
7-zete-7maxhelias
authored andcommitted
Added project initializability check in docker-entrypoint.sh
1 parent ab9039c commit 6707f3d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frankenphp/docker-entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
2626
composer install --prefer-dist --no-progress --no-interaction
2727
fi
2828

29+
# Display information about the current project
30+
# Or about an error in project initialization
31+
php bin/console -V
32+
2933
if grep -q ^DATABASE_URL= .env; then
3034
echo 'Waiting for database to be ready...'
3135
ATTEMPTS_LEFT_TO_REACH_DATABASE=60

0 commit comments

Comments
 (0)
0