From 48d257763ebb19383a69a7aa1faa9af07494e627 Mon Sep 17 00:00:00 2001 From: Grzegorz Adam Kowalski Date: Fri, 15 Mar 2019 17:33:07 +0100 Subject: [PATCH] redirect apache server logs to stdout & stderr --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index dd88b9d..34052f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -130,6 +130,8 @@ RUN echo "LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so" >> /etc/a && a2enconf mod_tile COPY apache.conf /etc/apache2/sites-available/000-default.conf COPY leaflet-demo.html /var/www/html/index.html +RUN ln -sf /proc/1/fd/1 /var/log/apache2/access.log + && ln -sf /proc/1/fd/2 /var/log/apache2/error.log # Start running COPY run.sh /