]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - Dockerfile.arm64v8
Bump follow-redirects from 1.14.7 to 1.14.8
[github/bastienwirtz/homer.git] / Dockerfile.arm64v8
index e6d0a511d453d71b091683a5711631f21b302007..cd15e4a0ddc08de149acc830d9c2b28c870e8ac2 100644 (file)
@@ -35,6 +35,9 @@ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
 COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
 COPY entrypoint.sh /entrypoint.sh
 
+HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
+    CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1
+
 EXPOSE ${PORT}
 VOLUME /www/assets
 ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]