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
This commit is contained in:
TheMaddax 2025-06-25 15:08:04 -05:00
parent f29ffa80f1
commit 1cbf36dc00

View file

@ -24,6 +24,9 @@ EXPOSE 806
# Set port environment variable # Set port environment variable
ENV PORT=806 ENV PORT=806
# Install curl for health check
RUN apk add --no-cache curl
# Health check # Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD curl -f http://localhost:806 || exit 1 CMD curl -f http://localhost:806 || exit 1