docker: shift HEALTHCHECK to helper
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2021-12-27 16:08:55 +01:00
parent ee514e2da3
commit 106f59afa1
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,9 @@ elif [ "$@" = "reload" ]; then
kill -s WINCH $pid
kill -s TERM $pid
elif [ "$@" = "check" ]; then
python -m morss.crawler http://localhost:${PORT:-8000}/ > /dev/null 2>&1
else
morss $@