diff --git a/make/photon/exporter/Dockerfile b/make/photon/exporter/Dockerfile index 4ffbab24ea5..c3553171461 100644 --- a/make/photon/exporter/Dockerfile +++ b/make/photon/exporter/Dockerfile @@ -26,6 +26,6 @@ RUN chown -R harbor:harbor /etc/pki/tls/certs \ WORKDIR /harbor USER harbor -HEALTHCHECK CMD netstat -ltun|grep 8080 +HEALTHCHECK CMD curl --fail -s http://localhost:8080/metrics || exit 1 ENTRYPOINT ["/harbor/entrypoint.sh"]