From fb56e28b69c02dfd9b9328071e3ce958e24fd667 Mon Sep 17 00:00:00 2001 From: sgrtye Date: Sun, 31 Mar 2024 16:10:47 +0100 Subject: [PATCH] change health check interval --- template/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/Dockerfile b/template/Dockerfile index 44e90a8..6d9bb14 100644 --- a/template/Dockerfile +++ b/template/Dockerfile @@ -9,7 +9,7 @@ RUN pyarmor gen --output /app /app/main.py RUN apk --update --no-cache add curl -HEALTHCHECK --start-period=10s --interval=60s --timeout=3s CMD curl -f http://localhost:80/health || exit 1 +HEALTHCHECK --start-period=10s --interval=5s --timeout=3s CMD curl -f http://localhost:80/health || exit 1 CMD ["python", "-u", "/app/main.py"]