diff --git a/docker-compose.yml b/docker-compose.yml index 78eb87f..352177d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: ports: - "8182:5000" healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:5000/"] + test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/')"] interval: 30s timeout: 10s retries: 3