Change Docker healthcheck to wget

curl is not available in the Alpine image
This commit is contained in:
charlocharlie 2024-02-06 14:32:04 -06:00
parent 22de459a72
commit 0bf67639c1
1 changed files with 1 additions and 1 deletions

View File

@ -47,4 +47,4 @@ USER daemon
ENTRYPOINT ["cmd/writefreely/writefreely"]
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