From 2f1b4c11d5a56e10270a53441f27b29ab5582bb7 Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Mon, 19 Aug 2024 11:58:01 -0400 Subject: [PATCH] chore: Update Dockerfile to set ownership of /var/www/html to www-data --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 05823d7..63d1aa8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ FROM php:7-apache -ARG uid - RUN docker-php-ext-install mysqli RUN a2enmod rewrite COPY ./src /var/www/html -RUN usermod -u $uid www-data \ No newline at end of file +RUN chown -R www-data:www-data /var/www/html \ No newline at end of file