Add healthcheck

This commit is contained in:
Kroese 2023-04-16 17:27:50 +02:00 committed by GitHub
parent bf8b2c1195
commit 0418fba2d1

View File

@ -52,4 +52,6 @@ ENV CPU_CORES 1
ENV DISK_SIZE 16G
ENV RAM_SIZE 512M
HEALTHCHECK --interval=30s --timeout=5s CMD curl -f http://127.0.0.1:5000/ || exit 1
ENTRYPOINT ["/run/run.sh"]