Skip to content

Commit 02f9703

Browse files
committed
Added HEALTHCHECK instruction to the Dockerfile
1 parent f6a3a9c commit 02f9703

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,5 @@ ENTRYPOINT [ "/entrypoint.sh" ]
5454
EXPOSE 80
5555

5656
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
57+
58+
HEALTHCHECK --timeout=10s CMD curl --silent --fail http://127.0.0.1

0 commit comments

Comments
 (0)