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