Skip to content

Commit 5dc7852

Browse files
committed
Update health check to use wget instead of curl
Curl is unavailable in the alpine base image, so using the equivalent wget check
1 parent 67e0ef6 commit 5dc7852

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,4 +177,4 @@ STOPSIGNAL SIGHUP
177177
ENTRYPOINT ["/entrypoint"]
178178

179179
HEALTHCHECK --interval=60s --start-interval=20s --timeout=3s \
180-
CMD curl -f http://localhost/ || exit 1
180+
CMD wget --quiet --spider http://127.0.0.1:80 || exit 1

0 commit comments

Comments
 (0)