Adapt installation for dump env var

This commit is contained in:
maxhelias
2020-06-20 01:27:16 +02:00
parent 967f3f270a
commit 139593083d
3 changed files with 11 additions and 3 deletions

View File

@@ -25,6 +25,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
cp -Rp tmp/. .
rm -Rf tmp/
elif [ "$APP_ENV" != 'prod' ]; then
rm -f .env.local.php
composer install --prefer-dist --no-progress --no-suggest --no-interaction
fi