Skip to content

Commit c3e1478

Browse files
Revert "fix healthcheck for flask"
1 parent e476ff5 commit c3e1478

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)