Add SKIP_COMPOSER flag
This commit is contained in:
@@ -189,6 +189,7 @@ if [[ "$RUN_SCRIPTS" == "1" ]] ; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$SKIP_COMPOSER" ]; then
|
||||||
# Try auto install for composer
|
# Try auto install for composer
|
||||||
if [ -f "/var/www/html/composer.lock" ]; then
|
if [ -f "/var/www/html/composer.lock" ]; then
|
||||||
if [ "$APPLICATION_ENV" == "development" ]; then
|
if [ "$APPLICATION_ENV" == "development" ]; then
|
||||||
@@ -199,6 +200,7 @@ if [ -f "/var/www/html/composer.lock" ]; then
|
|||||||
composer install --no-dev --working-dir=/var/www/html
|
composer install --no-dev --working-dir=/var/www/html
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# Start supervisord and services
|
# Start supervisord and services
|
||||||
exec /usr/bin/supervisord -n -c /etc/supervisord.conf
|
exec /usr/bin/supervisord -n -c /etc/supervisord.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user