Added healthcheck

This commit is contained in:
Stefan Verhoeven 2017-07-01 21:54:37 +02:00
parent 1f6c8f6d9b
commit 790038dcad

View File

@ -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