From 790038dcadf8fdb059c4ef61f0985abb2692a64b Mon Sep 17 00:00:00 2001 From: Stefan Verhoeven Date: Sat, 1 Jul 2017 21:54:37 +0200 Subject: [PATCH] Added healthcheck --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 2249322..6afcaf1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -237,3 +237,4 @@ ENV GDAL_DATA /usr/share/gdal/1.11 ADD ./startup.sh /opt/startup.sh CMD ["/bin/bash", "/opt/startup.sh"] +HEALTHCHECK CMD curl -f http://localhost || exit 1