apache to stdout

This commit is contained in:
boyska 2018-08-17 16:03:10 +02:00
parent 0af3dfa3cf
commit 725b3ab11d

View file

@ -3,4 +3,6 @@ FROM ulsmith/alpine-apache-php7
COPY ./ /app/public/ COPY ./ /app/public/
RUN mkdir -p /var/cache/rss-bridge/ && \ 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