From 193d12b6a3bcb70d3f85621a0a13820bc95a7304 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 29 Apr 2021 13:56:00 +0200 Subject: [PATCH] pass output to docker logs --- packages/health-check/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index bc867419..56ff07c7 100644 --- a/packages/health-check/Dockerfile +++ b/packages/health-check/Dockerfile @@ -7,8 +7,8 @@ RUN yarn --no-lockfile COPY src src COPY cli cli -RUN echo '*/5 * * * * /usr/app/cli/run critical' >> /etc/crontabs/root -RUN echo '0 * * * * /usr/app/cli/run extended' >> /etc/crontabs/root +RUN echo '*/5 * * * * /usr/app/cli/run critical > /dev/stdout' >> /etc/crontabs/root +RUN echo '0 * * * * /usr/app/cli/run extended > /dev/stdout' >> /etc/crontabs/root EXPOSE 3100 ENV NODE_ENV production