Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fixhancement: follow redirects in curl health check (#10415)

V0idC0de4b8f6ed6438a
diff --git a/Dockerfile b/Dockerfile
index 72c98b7cb..70226d41f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -265,4 +265,4 @@ ENTRYPOINT ["/init"]
EXPOSE 8000
-HEALTHCHECK --interval=30s --timeout=10s --retries=5 CMD [ "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000" ]
+HEALTHCHECK --interval=30s --timeout=10s --retries=5 CMD [ "curl", "-fs", "-S", "-L", "--max-time", "2", "http://localhost:8000" ]