From 245ec0e56752c29c0d4060c0568c3743e592c855 Mon Sep 17 00:00:00 2001 From: xpltd Date: Sat, 21 Mar 2026 21:13:38 -0500 Subject: [PATCH] Dockerfile: use MEDIARIP__SERVER__PORT in healthcheck Healthcheck now respects the PORT env var instead of hardcoding 8000, so containers running on non-default ports get proper health status. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 74d09c3..04c01dc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,6 @@ ENV MEDIARIP__DOWNLOADS__OUTPUT_DIR=/downloads \ EXPOSE 8000 HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \ - CMD curl -f http://localhost:8000/api/health || exit 1 + CMD curl -f http://localhost:${MEDIARIP__SERVER__PORT:-8000}/api/health || exit 1 CMD ["python", "start.py"]