Skip to content

Commit 4852c1a

Browse files
committed
Don't pollute output when testing Postgres connection
1 parent 588b868 commit 4852c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/docker/php/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'bin/console' ]; then
1414
if [ "$APP_ENV" != 'prod' ]; then
1515
composer install --prefer-dist --no-progress --no-suggest --no-interaction
1616
>&2 echo "Waiting for Postgres to be ready..."
17-
until bin/console doctrine:query:sql "SELECT 1" --quiet; do
17+
until bin/console doctrine:query:sql "SELECT 1" &> /dev/null; do
1818
sleep 1
1919
done
2020
bin/console doctrine:schema:update --force --no-interaction

0 commit comments

Comments
 (0)