We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ffc5532 + 98503a9 commit d22fd9eCopy full SHA for d22fd9e
samples/flask/compose.yaml
@@ -14,4 +14,4 @@ services:
14
target: 5000
15
published: 5000
16
healthcheck:
17
- test: ["CMD", "curl", "-f", "http://localhost:5000/"]
+ test: ["CMD", "python3", "-c", "import sys, urllib.request; urllib.request.urlopen(sys.argv[1]).read()", "http://localhost:5000/"]
0 commit comments