Skip to content

Commit 40bac6d

Browse files
committed
chore: increase retries for healthcheck in Dockerfile
1 parent 1c8236c commit 40bac6d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ ENTRYPOINT ["/entrypoint.sh"]
5454

5555
USER 65532:65532
5656

57-
HEALTHCHECK --start-period=15s --start-interval=5s --interval=10s --timeout=3s --retries=1 \
57+
HEALTHCHECK --start-period=15s --start-interval=5s --interval=10s --timeout=3s --retries=3 \
5858
CMD ["/busybox/sh", "-ec", "status=\"$(/busybox/wget -qO- http://127.0.0.1:8087/status)\" && echo \"$status\" | /busybox/grep -Eq '\"success\"[[:space:]]*:[[:space:]]*true' && echo \"$status\" | /busybox/grep -Eq '\"status\"[[:space:]]*:[[:space:]]*\"unlocked\"'"]

0 commit comments

Comments
 (0)