forked from science-ation/science-ation
Re-add chmod commands to fix Apache server
This commit is contained in:
parent
061ffc423e
commit
2d5079cf73
@ -1,8 +1,11 @@
|
|||||||
FROM php:8-apache
|
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
|
RUN a2enmod ssl && a2enmod rewrite
|
||||||
|
|
||||||
# Built-in tool for adding modules
|
# Built-in tool for adding modules
|
||||||
RUN docker-php-ext-install pdo pdo_mysql
|
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/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user