refactor(docker): clean up Docker and environment configurations, remove unused proxy settings and files
This commit is contained in:
@@ -25,14 +25,8 @@ if [ -z "${APP_KEY:-}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "${APP_ENV:-production}" = "production" ]; then
|
||||
if php artisan list --raw 2>/dev/null | grep -q '^l5-swagger:generate'; then
|
||||
php artisan l5-swagger:generate --no-interaction
|
||||
fi
|
||||
|
||||
php artisan config:cache --no-interaction
|
||||
php artisan event:cache --no-interaction
|
||||
php artisan view:cache --no-interaction
|
||||
if php artisan list --raw 2>/dev/null | grep -q '^l5-swagger:generate'; then
|
||||
php artisan l5-swagger:generate --no-interaction
|
||||
fi
|
||||
|
||||
exec "$@"
|
||||
|
||||
Reference in New Issue
Block a user