Merge pull request #1 from goose-ws/patch-1

Add a health check
This commit is contained in:
Knut Ahlers 2021-01-21 11:14:33 +01:00 committed by GitHub
commit e62ae7b6d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,3 +25,6 @@ EXPOSE 8000 8001
ADD startup.sh /usr/bin/startup.sh
ENTRYPOINT ["/usr/bin/startup.sh"]
# healthcheck
HEALTHCHECK CMD curl -sL --fail localhost:8000 || exit 1