From 5422cfe4659f1d1328b069dd68094dae22f842bd Mon Sep 17 00:00:00 2001 From: Shub Date: Sat, 21 Mar 2026 17:04:55 +0530 Subject: [PATCH] fix: add healthcheck to workflows Dockerfile Added a health check to the Dockerfile to monitor the application status. --- apps/workflows/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/workflows/Dockerfile b/apps/workflows/Dockerfile index 36d3c51e25..29905ebf97 100644 --- a/apps/workflows/Dockerfile +++ b/apps/workflows/Dockerfile @@ -110,4 +110,10 @@ USER 0:0 RUN apt-get update -q && apt-get install -y -q --no-install-recommends ca-certificates curl && update-ca-certificates && rm -rf /var/lib/apt/lists/* && mkdir -p /app/data && chown -R 1000:1000 /app/data USER 1000:1000 EXPOSE 3000 +HEALTHCHECK \ + --interval=30s \ + --timeout=10s \ + --start-period=30s \ + --retries=3 \ + CMD curl -f http://localhost:3000/ping || exit 1 ENTRYPOINT ["/app/apps/workflows/app"]