Created
November 28, 2019 11:06
-
-
Save fty4/0cefff40ee4e22a468f76bc15ac0be73 to your computer and use it in GitHub Desktop.
Dockerfile with healthcheck for docker ps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nginx | |
HEALTHCHECK --interval=5s --timeout=3s CMD wget -q -O - localhost:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment