diff --git a/Dockerfile b/Dockerfile index d19858c..57cab9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,7 @@ RUN mkdir -p /var/www/html/data/backups \ # Create .env from example if it doesn't exist (will be overridden by volume mount) RUN [ ! -f /var/www/html/.env ] && cp /var/www/html/.env.example /var/www/html/.env || true +RUN chown www-data:www-data /var/www/html/.env && chmod 664 /var/www/html/.env # Apache configuration: serve from app root RUN echo '\n\