diff --git a/Dockerfile b/Dockerfile index cd30723e2..a21d918c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ COPY config/php.ini ${PHP_INI_DIR}/conf.d/custom.ini COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf # Make sure files/folders needed by the processes are accessable when they run under the nobody user -RUN chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx +RUN chown -R nobody:nobody /var/www/html /run /var/lib/nginx /var/log/nginx # Switch to use a non-root user from here on USER nobody