From bceb8bbf32833b0a4d03210bd51b7b7a67e8b6e8 Mon Sep 17 00:00:00 2001 From: Angus Date: Fri, 11 Aug 2023 12:38:26 +0100 Subject: [PATCH] fix --- .dockerignore | 3 ++- start_prod.sh | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 4dca2e8..5ada902 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,4 +5,5 @@ composer.lock node_modules .env .git -.github \ No newline at end of file +.github +public/images \ No newline at end of file diff --git a/start_prod.sh b/start_prod.sh index dba6328..7137ff0 100644 --- a/start_prod.sh +++ b/start_prod.sh @@ -3,6 +3,9 @@ # Create .env file from environment variables printenv | awk -F "=" 'NF==2 && $2 !~ /[\n\t ]/' > .env +# Ensure php-fpm runs in the web group +sed -i 's/^group =.*/group = web/' /usr/local/etc/php-fpm.d/www.conf + # Run our artisan commands php artisan route:clear php artisan config:clear