From 3bd64b905f423ecab0fbb2bd7d948846ecdbe708 Mon Sep 17 00:00:00 2001 From: boyska Date: Fri, 17 Aug 2018 16:03:10 +0200 Subject: [PATCH] apache to stdout --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index caa89f6..d06fca6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,4 +3,6 @@ FROM ulsmith/alpine-apache-php7 COPY ./ /app/public/ RUN mkdir -p /var/cache/rss-bridge/ && \ - chown -R apache:root /app/public /var/cache/rss-bridge/ + chown -R apache:root /app/public /var/cache/rss-bridge/ && \ + sed -i -r 's@ErrorLog .*@ErrorLog "/dev/stdout"@i' /etc/apache2/httpd.conf &&\ + echo 'TransferLog "/dev/stdout"' >> /etc/apache2/httpd.conf