From 8eeb774d4e968cb44b0d162dc93b9e0c1b65570b Mon Sep 17 00:00:00 2001 From: domverse Date: Sat, 28 Feb 2026 12:40:31 +0100 Subject: [PATCH] fix: replace wget --spider with wget -qO /dev/null for healthcheck --spider sends a HEAD request which newer BusyBox builds in nginx:alpine may not handle consistently. A plain GET to /dev/null is more reliable. Co-Authored-By: Claude Sonnet 4.6 --- flight-comparator/Dockerfile.frontend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight-comparator/Dockerfile.frontend b/flight-comparator/Dockerfile.frontend index 7c5d8c7..6f6acda 100644 --- a/flight-comparator/Dockerfile.frontend +++ b/flight-comparator/Dockerfile.frontend @@ -15,5 +15,5 @@ COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 80 -HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ - CMD wget -q --spider http://localhost/ || exit 1 +HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \ + CMD wget -qO /dev/null http://localhost/ || exit 1