Add healthcheck

This commit is contained in:
D. Domig
2021-01-16 17:25:47 +01:00
parent 3b16103f47
commit f5c5358b84

View File

@@ -96,5 +96,6 @@ RUN groupadd -g 1000 signal-api \
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]
HEALTHCHECK --interval=20s --timeout=10s --retries=3 \
CMD curl -f http://localhost:8080/v1/about || exit 1