Re-add chmod commands to fix Apache server

This commit is contained in:
Patrick 2025-01-06 19:45:07 +00:00
parent 061ffc423e
commit 2d5079cf73

View File

@ -1,8 +1,11 @@
FROM php:8-apache
RUN apt-get update && apt-get upgrade && apt-get install -y imagemagick git
RUN apt-get update && apt-get upgrade && apt-get install -y imagemagick
RUN a2enmod ssl && a2enmod rewrite
# Built-in tool for adding modules
RUN docker-php-ext-install pdo pdo_mysql
RUN chmod u+s,g+s /var/www/html/
RUN chown -R www-data:www-data /var/www/html/