diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index ad1e4f8..3a8dbe1 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -7,7 +7,7 @@ run_as_www_user() { su - www-data -c "/usr/local/bin/php /var/www/app/artisan $1" } -if ( ! grep -q "^APP_KEY=" ".env" || grep -q "^APP_KEY=$" ".env"); then +if [[ -z "$APP_KEY" ]]; then echo " > The required APP_KEY configuration is missing in your .env file. Copy and paste this key into your .env file. Then restart the container!" draw_box() {