aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2021-10-06 22:55:53 +0200
committerBastien Wirtz <bastien.wirtz@gmail.com>2021-10-06 22:55:53 +0200
commit220c60cba04e86e782e9610aa8ef0d77e221072c (patch)
tree4c51cd7efbf469f57dfc9b74218c68dbef4d0041 /Dockerfile
parent2ca4faad9cb336ac8904bbc775fdcc2a12731b90 (diff)
downloadhomer-220c60cba04e86e782e9610aa8ef0d77e221072c.tar.gz
homer-220c60cba04e86e782e9610aa8ef0d77e221072c.tar.zst
homer-220c60cba04e86e782e9610aa8ef0d77e221072c.zip
Reduce docker healthcheck frequency
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index d7179fc..e31d97d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -25,7 +25,7 @@ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
25COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets 25COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
26COPY entrypoint.sh /entrypoint.sh 26COPY entrypoint.sh /entrypoint.sh
27 27
28HEALTHCHECK --interval=5s --timeout=5s --retries=3 \ 28HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
29 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1 29 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1
30 30
31EXPOSE ${PORT} 31EXPOSE ${PORT}