pass output to docker logs

This commit is contained in:
Karol Wypchlo 2021-04-29 13:56:00 +02:00
parent cd7dac5b7e
commit 193d12b6a3
1 changed files with 2 additions and 2 deletions

View File

@ -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