Change Docker healthcheck to wget

curl is not available in the Alpine image
pull/894/head
charlocharlie 10 months ago
parent 22de459a72
commit 0bf67639c1
  1. 2
      Dockerfile

@ -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
Loading…
Cancel
Save