From 5aed148c149291f4b159a91f2c12e324e13e6085 Mon Sep 17 00:00:00 2001 From: Laurence Luo Date: Mon, 17 Jun 2024 11:26:27 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7f1a1fe..ff1f73c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,4 +12,4 @@ COPY . . CMD [ "python", "./app.py" ] -HEALTHCHECK --interval=5s --timeout=3s --retries=3 CMD curl --fail http://localhost:5000/ || exit 1 +HEALTHCHECK --interval=5s --timeout=3s --retries=3 CMD curl -f -k http://localhost:5000/ || exit 1