Skip to content

Commit 7756532

Browse files
authored
fix: ECS container /health endpoint does not require API_KEY Bearer Token (#184)
1 parent 9cea7f9 commit 7756532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Dockerfile_ecs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ USER appuser
1717
ENV PORT=8080
1818

1919
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
20-
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/api/v1/models').read()"
20+
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/health').read()"
2121

2222
CMD ["sh", "-c", "uvicorn api.app:app --host 0.0.0.0 --port ${PORT}"]

0 commit comments

Comments
 (0)