Dockerfile aktualisiert
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bernd Reuther 2023-10-13 13:50:33 +02:00
parent 91c12a8137
commit 5673cee4d9

View File

@ -1,8 +1,6 @@
FROM php:7.4-apache
LABEL maintainer="Andy Miller <rhuk@getgrav.org> (@rhukster)"
ENV TZ="Europe/Berlin"
# Enable Apache Rewrite + Expires Module
RUN a2enmod rewrite expires && \
sed -i 's/ServerTokens OS/ServerTokens ProductOnly/g' \
@ -52,6 +50,8 @@ RUN pecl install apcu \
&& pecl install yaml-2.0.4 \
&& docker-php-ext-enable apcu yaml
RUN rm /etc/localtime
# Set user to www-data
RUN chown www-data:www-data /var/www
USER www-data