mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-09-20 10:05:57 +08:00
Add Docker healthcheck (#2517)
Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
c67095bbe1
commit
84ee13fd1b
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue