1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

feat: add Docker HEALTHCHECK (issue #69)

This commit is contained in:
DoroWu
2018-04-22 23:00:48 +08:00
parent ba3e2c2595
commit e2d659d992
3 changed files with 9 additions and 3 deletions
+1
View File
@@ -90,4 +90,5 @@ EXPOSE 80
WORKDIR /root
ENV HOME=/home/ubuntu \
SHELL=/bin/bash
HEALTHCHECK --interval=30s --timeout=5s CMD curl --fail http://127.0.0.1/api/health
ENTRYPOINT ["/startup.sh"]