chore: Update Dockerfile to set ownership of /var/www/html to www-data

This commit is contained in:
Douglas Barone 2024-08-19 11:58:01 -04:00
parent b9ba05d0c5
commit 2f1b4c11d5

View File

@ -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
RUN chown -R www-data:www-data /var/www/html