FROM docker.elastic.co/elasticsearch/elasticsearch:6.3.2 COPY healthcheck.sh /tmp/ HEALTHCHECK --start-period=30s --interval=120s --timeout=20s --retries=2 CMD /tmp/healthcheck.sh