aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm32v7
diff options
context:
space:
mode:
authorDaniël Vos <danielvos@outlook.com>2021-08-15 15:34:17 +0200
committerDaniël Vos <danielvos@outlook.com>2021-08-15 15:34:17 +0200
commit6dd8342bf08188622116e242122bb25b42085d93 (patch)
tree98f1d5fe1cd900a23979a33260c5e572d3c4abec /Dockerfile.arm32v7
parent35926e1e6e4669e881b8f69003f97752172eb922 (diff)
downloadhomer-6dd8342bf08188622116e242122bb25b42085d93.tar.gz
homer-6dd8342bf08188622116e242122bb25b42085d93.tar.zst
homer-6dd8342bf08188622116e242122bb25b42085d93.zip
Add healthcheck to Dockerfile
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r--Dockerfile.arm32v73
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7
index 3efb5aa..1621abb 100644
--- a/Dockerfile.arm32v7
+++ b/Dockerfile.arm32v7
@@ -35,6 +35,9 @@ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
35COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets 35COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
36COPY entrypoint.sh /entrypoint.sh 36COPY entrypoint.sh /entrypoint.sh
37 37
38HEALTHCHECK --interval=5s --timeout=5s --retries=3 \
39 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1
40
38EXPOSE ${PORT} 41EXPOSE ${PORT}
39VOLUME /www/assets 42VOLUME /www/assets
40ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] 43ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]