diff --git a/Dockerfile b/Dockerfile index 6b7d02f..2be300f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,6 @@ FROM php:7.4-apache LABEL maintainer="Andy Miller (@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