feat: better healthcheck and prevent useless composer install calls

This commit is contained in:
Kévin Dunglas
2023-09-18 22:03:49 +02:00
parent 253eae0e15
commit b5710da39c
3 changed files with 3 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
fi
fi
if [ "$APP_ENV" != 'prod' ]; then
if [ ! -d 'vendor/' ]; then
composer install --prefer-dist --no-progress --no-interaction
fi