Skip to content

Commit 390780c

Browse files
Merge pull request #161 from DefangLabs/revert-141-lio-flask-healthcheck
Revert "fix healthcheck for flask"
2 parents e476ff5 + c3e1478 commit 390780c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/flask/compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ services:
1414
target: 5000
1515
published: 5000
1616
healthcheck:
17-
test: ["CMD", "python3", "-c", "import sys, urllib.request; urllib.request.urlopen(sys.argv[1]).read()", "http://localhost:5000/"]
17+
test: ["CMD", "curl", "-f", "http://localhost:5000/"]

0 commit comments

Comments
 (0)