X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=Dockerfile.arm32v7;h=95a2db1dc3ea5102ed4db569fd35af50fcf5c77e;hb=ba2c7c5c57c5fcf9009750faf3968a7a374ec7a3;hp=3efb5aa109d825556e8c175abe94a163ba629ebb;hpb=db738288fa7c99a3d5aa47f35a634297c7b1f506;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index 3efb5aa..95a2db1 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 @@ -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"]