From 6a7f8b91ce1115933561e0dee633b1fd050528e7 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Wed, 9 Jun 2021 17:23:38 +0200 Subject: [PATCH] Fixed curl URL for healthcheck Signed-off-by: Louis Vallat --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2a7658d..6c6ed32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,5 +7,5 @@ FROM debian:buster-slim RUN apt-get update && apt-get install -y libpq-dev curl && rm -rf /var/lib/apt/lists/* COPY --from=builder /usr/local/cargo/bin/moviequotebot_api /usr/local/bin/moviequotebot_api EXPOSE 8080 -HEALTHCHECK CMD curl --fail http://localhost:8080 || exit 1 +HEALTHCHECK CMD curl --fail http://localhost:8080/health || exit 1 CMD ["moviequotebot_api"] \ No newline at end of file