Add a health check

Adds a health check to ensure the container's webserver is running
This commit is contained in:
goose-ws 2021-01-20 20:22:57 -05:00 committed by GitHub
commit 8597ef7a8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,3 +30,6 @@ ENV ENV prod
ENV APP_MODULE "app:app"
VOLUME [ "/app/data" ]
# healthcheck
HEALTHCHECK CMD curl -sL --fail localhost || exit 1