Skip to content

Commit db50801

Browse files
committed
Update Dockerfile: change default PORT from 8080 to 8300 for consistency
1 parent 3182089 commit db50801

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG PYTHON_VERSION=3.12
2-
ARG PORT=8080
2+
ARG PORT=8300
33

44
# --- Build stage ---
55
FROM python:${PYTHON_VERSION}-slim AS builder
@@ -50,6 +50,6 @@ USER flowdacity
5050
EXPOSE ${PORT}
5151

5252
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)"
53+
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)"
5454

5555
CMD ["sh", "-c", "exec uvicorn asgi:app --host 0.0.0.0 --port ${PORT}"]

0 commit comments

Comments
 (0)