Merge pull request #26 from sergey-shambir/docker-cmd-fix

Improve crond command in Dockerfile
This commit is contained in:
will Farrell 2019-03-17 13:09:12 -06:00 committed by GitHub
commit b0f5681faf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,4 +11,4 @@ ENTRYPOINT ["/docker-entrypoint"]
HEALTHCHECK --interval=5s --timeout=3s \ HEALTHCHECK --interval=5s --timeout=3s \
CMD ps aux | grep '[c]rond' || exit 1 CMD ps aux | grep '[c]rond' || exit 1
CMD ["crond","-f"] CMD ["crond", "-f", "-d", "6", "-c", "/etc/crontabs"]