chore: Update Dockerfile to set UID for www-data user
This commit is contained in:
parent
23307ed59a
commit
08823dd727
|
@ -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;
|
Loading…
Reference in New Issue
Block a user