Skip to content

A self-hosted dashboard that puts all your feeds in one place

Added HEALTHCHECK to Dockerfile

Luca Cremaaff02c2defd0
diff --git a/Dockerfile b/Dockerfile
index e4019ba..9e96b95 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,6 +6,9 @@ RUN CGO_ENABLED=0 go build .
FROM alpine:3.20
+HEALTHCHECK --timeout=10s --start-period=60s --interval=60s \
+ CMD wget --spider -q http://localhost:8080/api/healthz
+
WORKDIR /app
COPY --from=builder /app/glance .