path is for php's www.conf ARG WWW_CONFIG="/etc/php83/php-fpm.d/www.conf" # Customize the environment variables added to the part which is more secure and efficient RUN touch /run/php-fpm83.sock && chown nginx:nginx "/run/php-fpm83.sock" RUN sed -i 's/^s*;s*listen.group = nobody/listen.group = nginx/' ${WWW_CONFIG} && sed -i 's/^s*;s*listen.group = nobody/listen.group = nginx/' ${WWW_CONFIG} && sed -i 's/^s*;s*listen.mode = 0660/listen.mode = 0660/' ${WWW_CONFIG} EXPOSE ${NGINX_PORT} # Configures the