Change Docker healthcheck to wget
curl is not available in the Alpine image
This commit is contained in:
parent
22de459a72
commit
0bf67639c1
1 changed files with 1 additions and 1 deletions
|
@ -47,4 +47,4 @@ USER daemon
|
||||||
ENTRYPOINT ["cmd/writefreely/writefreely"]
|
ENTRYPOINT ["cmd/writefreely/writefreely"]
|
||||||
|
|
||||||
HEALTHCHECK --start-period=5s --interval=15s --timeout=5s \
|
HEALTHCHECK --start-period=5s --interval=15s --timeout=5s \
|
||||||
CMD curl -fSs http://localhost:8080/ || exit 1
|
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1
|
Loading…
Add table
Reference in a new issue