run crond in prod mode

This commit is contained in:
Karol Wypchlo 2021-01-26 12:48:45 +01:00
parent 7b6bf6664f
commit 65fd16392f
1 changed files with 1 additions and 1 deletions

View File

@ -12,4 +12,4 @@ RUN echo '0 * * * * /usr/app/cli/run verbose' >> /etc/crontabs/root
EXPOSE 3100 EXPOSE 3100
ENV NODE_ENV production ENV NODE_ENV production
CMD [ "sh", "-c", "crond -l 0 -L /usr/app/log.txt ; node --max-http-header-size=64000 src/index.js" ] CMD [ "sh", "-c", "crond ; node --max-http-header-size=64000 src/index.js" ]