We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3182089 commit db50801Copy full SHA for db50801
1 file changed
Dockerfile
@@ -1,5 +1,5 @@
1
ARG PYTHON_VERSION=3.12
2
-ARG PORT=8080
+ARG PORT=8300
3
4
# --- Build stage ---
5
FROM python:${PYTHON_VERSION}-slim AS builder
@@ -50,6 +50,6 @@ USER flowdacity
50
EXPOSE ${PORT}
51
52
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
53
- CMD python -c "import os, httpx; port = os.environ.get('PORT', '8080'); r = httpx.get(f'http://127.0.0.1:{port}/metrics/'); raise SystemExit(0 if r.status_code < 400 else 1)"
+ CMD python -c "import os, httpx; port = os.environ.get('PORT', '8300'); r = httpx.get(f'http://127.0.0.1:{port}/metrics/'); raise SystemExit(0 if r.status_code < 400 else 1)"
54
55
CMD ["sh", "-c", "exec uvicorn asgi:app --host 0.0.0.0 --port ${PORT}"]
0 commit comments