Skip to content

Commit d7ca509

Browse files
committed
feat: fix wget command in HEALTHCHECK
Signed-off-by: WoodenMaiden <yann.pomie@laposte.net>
1 parent 06575b5 commit d7ca509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ USER nobody
9292
EXPOSE 8080
9393

9494
HEALTHCHECK --interval=5s --timeout=10s --start-period=5s --retries=3 \
95-
CMD "wget -O http://localhost:8080/health/live 2> /dev/null"
95+
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/health/live || exit 1
9696

9797
CMD ["/app/bin/server"]

0 commit comments

Comments
 (0)