fix: install Composer dependencies if vendor directory is empty (#491)
* fix: install Composer dependencies if vendor directory is empty * Update frankenphp/docker-entrypoint.sh Co-authored-by: Vincent <407859+vincentchalamon@users.noreply.github.com> --------- Co-authored-by: Kévin Dunglas <kevin@dunglas.fr> Co-authored-by: Vincent <407859+vincentchalamon@users.noreply.github.com>
This commit is contained in:
parent
11b2807da9
commit
ef8c7ad2a2
@ -22,7 +22,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -d 'vendor/' ]; then
|
||||
if [ -z "$(ls -A 'vendor/' 2>/dev/null)" ]; then
|
||||
composer install --prefer-dist --no-progress --no-interaction
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user