From fe197ada671b476498963dfc261f8401ddea9812 Mon Sep 17 00:00:00 2001 From: Dominik Hebeler <dominik@suma-ev.de> Date: Fri, 7 Feb 2020 12:31:38 +0100 Subject: [PATCH] attached laravel log to stdout, too --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index f61fe3c49..379f5c74c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,8 @@ COPY config/nginx.conf /etc/nginx/nginx.conf COPY config/nginx-default.conf /etc/nginx/conf.d/default.conf COPY --chown=root:nginx . /html +RUN ln -s /dev/stdout /html/storage/logs/laravel.log + CMD chown -R root:nginx storage/logs/metager bootstrap/cache && \ chmod -R g+w storage/logs/metager bootstrap/cache && \ /etc/init.d/cron start && \ -- GitLab