Do not run composer install in prod (#188)
This commit is contained in:
parent
d4c3b50e68
commit
1364979af6
@ -26,11 +26,12 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
|
|||||||
cd -
|
cd -
|
||||||
|
|
||||||
rm -Rf tmp/
|
rm -Rf tmp/
|
||||||
elif [ "$APP_ENV" != 'prod' ]; then
|
|
||||||
rm -f .env.local.php
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$APP_ENV" != 'prod' ]; then
|
||||||
|
rm -f .env.local.php
|
||||||
composer install --prefer-dist --no-progress --no-interaction
|
composer install --prefer-dist --no-progress --no-interaction
|
||||||
|
fi
|
||||||
|
|
||||||
if grep -q ^DATABASE_URL= .env; then
|
if grep -q ^DATABASE_URL= .env; then
|
||||||
if [ "$CREATION" = "1" ]; then
|
if [ "$CREATION" = "1" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user