[BUGFIX] add nobody to www-data group to allow correct ownerships
This commit is contained in:
parent
c0e969be7d
commit
f0aa6e51d4
@ -51,6 +51,7 @@ RUN \
|
|||||||
/etc/services.d/php-fpm7/supervise/control \
|
/etc/services.d/php-fpm7/supervise/control \
|
||||||
/etc/s6/services/s6-fdholderd/supervise/control \
|
/etc/s6/services/s6-fdholderd/supervise/control \
|
||||||
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \
|
&& setcap 'cap_net_bind_service=+ep' /usr/sbin/nginx \
|
||||||
|
&& adduser nobody www-data \
|
||||||
&& chown -R nobody.www-data /etc/services.d /etc/s6 /run /srv/* /var/lib/nginx /var/www \
|
&& chown -R nobody.www-data /etc/services.d /etc/s6 /run /srv/* /var/lib/nginx /var/www \
|
||||||
# Clean up
|
# Clean up
|
||||||
&& rm -rf "${GNUPGHOME}" /tmp/* \
|
&& rm -rf "${GNUPGHOME}" /tmp/* \
|
||||||
|
Loading…
Reference in New Issue
Block a user