From 626e5d5bf2791b2a5df580ce4440cdfbac022f7a Mon Sep 17 00:00:00 2001 From: "railway-app[bot]" <68434857+railway-app[bot]@users.noreply.github.com> Date: Fri, 1 May 2026 12:57:29 +0000 Subject: [PATCH] fix(backend/Dockerfile): bind Uvicorn to 0.0.0.0 instead of :: --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 7dcd9d4..55a21b2 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -95,4 +95,4 @@ HEALTHCHECK --interval=30s --timeout=10s --retries=3 \ # - `|| true` hides migration failures and lets the app boot on a half-built schema. # Block on alembic with `&&` so a migration failure exits non-zero (Railway logs are clear), # and the FastAPI lifespan (which runs seed_achievements) only starts after `upgrade head` returns 0. -CMD ["sh", "-c", "alembic upgrade head && exec python -m uvicorn app.main:app --host :: --port ${PORT:-8000}"] +CMD ["sh", "-c", "alembic upgrade head && exec python -m uvicorn app.main:app --host 0.0.0.0 --port ${PORT:-8000}"]