chore: Update Dockerfile to set ownership of /var/www/html to www-data
This commit is contained in:
parent
b9ba05d0c5
commit
2f1b4c11d5
|
@ -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
|
Loading…
Reference in New Issue
Block a user