- Introduced ARG variables for UID and GID to allow dynamic user and group configuration. - Updated ownership commands to utilize the new UID and GID parameters, improving compatibility with different environments. - Maintained non-root user practices while ensuring proper permissions for Nginx and associated files.