提交 134ccf76 authored 作者: 陈欢's avatar 陈欢

更新 start.sh

上级 295577a4
......@@ -218,18 +218,18 @@ if [[ "$RUN_SCRIPTS" == "1" ]] ; then
fi
fi
if [ -z "$SKIP_COMPOSER" ]; then
# Try auto install for composer
if [ -f "/var/www/html/composer.lock" ]; then
if [ "$APPLICATION_ENV" == "development" ]; then
composer global require hirak/prestissimo
composer install --working-dir=/var/www/html
else
composer global require hirak/prestissimo
composer install --no-dev --working-dir=/var/www/html
fi
fi
fi
# if [ -z "$SKIP_COMPOSER" ]; then
# # Try auto install for composer
# if [ -f "/var/www/html/composer.lock" ]; then
# if [ "$APPLICATION_ENV" == "development" ]; then
# composer global require hirak/prestissimo
# composer install --working-dir=/var/www/html
# else
# composer global require hirak/prestissimo
# composer install --no-dev --working-dir=/var/www/html
# fi
# fi
# fi
# Start supervisord and services
exec /usr/bin/supervisord -n -c /etc/supervisord.conf
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论