diff --git a/11.0/apache/Dockerfile b/11.0/apache/Dockerfile index 88d14721..bc4944b3 100644 --- a/11.0/apache/Dockerfile +++ b/11.0/apache/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/11.0/fpm-alpine/Dockerfile b/11.0/fpm-alpine/Dockerfile index 0e352c41..160420d4 100644 --- a/11.0/fpm-alpine/Dockerfile +++ b/11.0/fpm-alpine/Dockerfile @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/11.0/fpm/Dockerfile b/11.0/fpm/Dockerfile index f176960b..8f7ebc12 100644 --- a/11.0/fpm/Dockerfile +++ b/11.0/fpm/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/12.0/apache/Dockerfile b/12.0/apache/Dockerfile index 28a9dde2..1f6413ae 100644 --- a/12.0/apache/Dockerfile +++ b/12.0/apache/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/12.0/fpm-alpine/Dockerfile b/12.0/fpm-alpine/Dockerfile index 57ac1bc7..e8daeb53 100644 --- a/12.0/fpm-alpine/Dockerfile +++ b/12.0/fpm-alpine/Dockerfile @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/12.0/fpm/Dockerfile b/12.0/fpm/Dockerfile index 4202bf00..e507e9c5 100644 --- a/12.0/fpm/Dockerfile +++ b/12.0/fpm/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/13.0/apache/Dockerfile b/13.0/apache/Dockerfile index b2a965f9..c8454c7e 100644 --- a/13.0/apache/Dockerfile +++ b/13.0/apache/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/13.0/fpm-alpine/Dockerfile b/13.0/fpm-alpine/Dockerfile index e2c9a8d6..eb87ea02 100644 --- a/13.0/fpm-alpine/Dockerfile +++ b/13.0/fpm-alpine/Dockerfile @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/13.0/fpm/Dockerfile b/13.0/fpm/Dockerfile index 0e4b650a..8f623cdd 100644 --- a/13.0/fpm/Dockerfile +++ b/13.0/fpm/Dockerfile @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index b1a0f96b..41e608b9 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -80,8 +80,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html %%VARIANT_EXTRAS%% diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index a5db872a..5b73a108 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -89,8 +89,8 @@ RUN { \ echo 'opcache.revalidate_freq=1'; \ } > /usr/local/etc/php/conf.d/opcache-recommended.ini; \ \ - chown -R www-data:root /var/www/html; \ - chmod -R g=u /var/www/html + chown -R www-data:root /var/www; \ + chmod -R g=u /var/www VOLUME /var/www/html %%VARIANT_EXTRAS%%