docs(DOCKERFILE): fix username comment

This commit is contained in:
Asif Bacchus 2021-01-07 07:05:20 -07:00
parent 294c31d19e
commit 23da6ae576

View File

@ -48,7 +48,7 @@ COPY webroot /usr/share/nginx/html/
# expose ports
EXPOSE 80 443
# clean-up permissions and run as nginx user
# clean-up permissions and run as www-docker user
RUN chown -R ${USER}:${USER} /usr/share/nginx/html \
&& find /usr/share/nginx/html -type d -exec chmod 775 {} \; \
&& find /usr/share/nginx/html -type f -exec chmod 664 {} \; \