diff --git a/packages/health-check/Dockerfile b/packages/health-check/Dockerfile index 56ff07c7..f33ac302 100644 --- a/packages/health-check/Dockerfile +++ b/packages/health-check/Dockerfile @@ -7,9 +7,9 @@ RUN yarn --no-lockfile COPY src src COPY cli cli -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 +RUN echo '* * * * * /usr/app/cli/run critical > /dev/stdout' >> /etc/crontabs/root +RUN echo '* * * * * /usr/app/cli/run extended > /dev/stdout' >> /etc/crontabs/root EXPOSE 3100 ENV NODE_ENV production -CMD [ "sh", "-c", "crond ; node --max-http-header-size=64000 src/index.js" ] +CMD [ "sh", "-c", "crond -l 2 -f ; node --max-http-header-size=64000 src/index.js" ]