docker permission fix

This commit is contained in:
2021-05-04 20:56:47 +02:00
parent 4d0ebc58be
commit 1737a2f592
3 changed files with 11 additions and 3 deletions

4
docker/nginx/Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM nginx:latest
WORKDIR "/application"
RUN mkdir -p /application/core/Configuration
RUN chown -R www-data:www-data /application

View File

@@ -1,4 +1,6 @@
FROM php:7-fpm
WORKDIR "/application"
RUN docker-php-ext-install mysqli
RUN mkdir -p /application/core/Configuration
RUN chown -R www-data:www-data /application
RUN docker-php-ext-install mysqli
USER www-data