Removed volume instruction

This commit is contained in:
Tim de Pater 2020-04-20 21:47:16 +02:00
parent 1780ba14fa
commit 772d7aeaad
No known key found for this signature in database
GPG Key ID: BFE5D809439C9723

View File

@ -28,9 +28,6 @@ RUN chown -R nobody.nobody /var/www/html && \
chown -R nobody.nobody /var/lib/nginx && \ chown -R nobody.nobody /var/lib/nginx && \
chown -R nobody.nobody /var/log/nginx chown -R nobody.nobody /var/log/nginx
# Make the document root a volume
VOLUME /var/www/html
# Switch to use a non-root user from here on # Switch to use a non-root user from here on
USER nobody USER nobody