We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce4cfab commit b3c1c82Copy full SHA for b3c1c82
src/Dockerfile_ecs
@@ -21,6 +21,6 @@ RUN python3 -c 'import tiktoken_ext.openai_public as tke; tke.cl100k_base()'
21
ENV PORT=8080
22
23
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
24
- CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:8080/health').read()"
+ CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:${PORT}/health').read()"
25
26
CMD ["sh", "-c", "uvicorn api.app:app --host 0.0.0.0 --port ${PORT}"]
0 commit comments