Added group argument to adduser, per suggestion from chef

This commit is contained in:
seednode 2021-06-17 19:33:40 -05:00
parent 12961205d9
commit d650ab2507

View File

@ -63,7 +63,7 @@ FROM alpine:latest
COPY nginx/ /etc/nginx/
# setup nginx folders and files
RUN adduser www-data -D -H
RUN adduser www-data -D -H -G www-data
RUN chown -R www-data:www-data /etc/nginx
RUN mkdir -p /tmp/nginx/{client,proxy} && chown -R www-data:www-data /tmp/nginx/
RUN mkdir -p /var/log/nginx && chown -R www-data:www-data /var/log/nginx