From 0bf67639c18dbade2cf980a5a32c9c6f6f022d2e Mon Sep 17 00:00:00 2001 From: charlocharlie Date: Tue, 6 Feb 2024 14:32:04 -0600 Subject: [PATCH] Change Docker healthcheck to wget curl is not available in the Alpine image --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 762a1ee..c30343a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,4 +47,4 @@ USER daemon ENTRYPOINT ["cmd/writefreely/writefreely"] HEALTHCHECK --start-period=5s --interval=15s --timeout=5s \ - CMD curl -fSs http://localhost:8080/ || exit 1 \ No newline at end of file + CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1 \ No newline at end of file