diff --git a/src/Dockerfile_ecs b/src/Dockerfile_ecs index eb315fb..e71acbf 100644 --- a/src/Dockerfile_ecs +++ b/src/Dockerfile_ecs @@ -17,6 +17,6 @@ USER appuser ENV PORT=8080 HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ - CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/api/v1/models').read()" + CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/health').read()" CMD ["sh", "-c", "uvicorn api.app:app --host 0.0.0.0 --port ${PORT}"]