run crond in prod mode
This commit is contained in:
parent
7b6bf6664f
commit
65fd16392f
|
@ -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" ]
|
||||||
|
|
Reference in New Issue