From d8a31e19636c3b5e53a37a2e7f77499cd56f600f Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 11 Jan 2024 12:31:31 +0000 Subject: [PATCH] Add trailing slash to healthcheck --- CHANGELOG.md | 3 +++ docker/tna-python/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19edaed..c8c5e56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Changed + +- Added trailing slash to healthcheck liveliness URI (`/healthcheck/live/`) + ### Deprecated ### Removed ### Fixed diff --git a/docker/tna-python/Dockerfile b/docker/tna-python/Dockerfile index e52b5b0..c87e68c 100644 --- a/docker/tna-python/Dockerfile +++ b/docker/tna-python/Dockerfile @@ -34,7 +34,7 @@ EXPOSE 8080/tcp # based on a GOV.UK proposal: # https://github.com/alphagov/govuk-rfcs/blob/main/rfc-141-application-healthchecks.md # ========================================== -HEALTHCHECK CMD curl --fail http://localhost:8080/healthcheck/live || exit 1 +HEALTHCHECK CMD curl --fail http://localhost:8080/healthcheck/live/ || exit 1 # ========================================== # The default environment type is production