chore: Update Dockerfile to set UID for www-data user

This commit is contained in:
Douglas Barone 2024-08-19 11:53:16 -04:00
parent 23307ed59a
commit 08823dd727

View File

@ -1,6 +1,11 @@
FROM php:7-apache
ARG uid
RUN docker-php-ext-install mysqli
RUN a2enmod rewrite
COPY ./src /var/www/html
COPY ./src /var/www/html
RUN usermod -u ${uid} www-data \
&& groupmod -g ${uid} www-data;