From 1cbf36dc008b016be296c106545478d16ea7e87d Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Wed, 25 Jun 2025 15:08:04 -0500 Subject: [PATCH] Fix frontend health check: Install curl in Alpine container - Added apk add curl to frontend Dockerfile - Fixes unhealthy container status by enabling health check to work - Health check now properly tests http://localhost:806 --- frontend/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 4cd544fd..4edad983 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -24,6 +24,9 @@ EXPOSE 806 # Set port environment variable ENV PORT=806 +# Install curl for health check +RUN apk add --no-cache curl + # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD curl -f http://localhost:806 || exit 1