Add Docker healthcheck (#2517)

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
Jacques Lorentz 2024-03-25 15:05:34 +01:00 committed by GitHub
parent c67095bbe1
commit 84ee13fd1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -93,4 +93,6 @@ RUN chmod -R go=u /app
# Make all home files available (specifically .mix/)
RUN chmod -R go=u $HOME
HEALTHCHECK CMD wget --no-verbose --tries=1 --spider http://localhost:${LIVEBOOK_PORT-8080}/public/health || exit 1
CMD [ "/app/bin/livebook", "start" ]