diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 5c33df6..ceac6d6 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -99,4 +99,5 @@ echo >&2 '└──' php-fpm84 -D # FPM must start first in daemon mode nginx # Then nginx in no daemon mode -exec su - www -c "$*" \ No newline at end of file +# Switch from user root to wwww +exec runuser -u www "$@" \ No newline at end of file