From 1c032fd8fca2a2f4623c8e9b35fed6e5298e97c0 Mon Sep 17 00:00:00 2001 From: Anurag Kanase <79215426+anuwrag@users.noreply.github.com> Date: Tue, 14 Jan 2025 15:04:39 -0600 Subject: [PATCH] Update Makefile Support Exposing 31950 robot-server port for Docker container --- robot-server/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot-server/Makefile b/robot-server/Makefile index 13db9dd8f2e..ac675acc58a 100755 --- a/robot-server/Makefile +++ b/robot-server/Makefile @@ -75,7 +75,7 @@ clean_all_cmd = $(clean_cmd) dist # * Doing `pipenv run env PYTHONDEVMODE=1 uvicorn ...` works, except it's # probably POSIX-only. dev_port ?= "31950" -dev_host ?= "localhost" +dev_host ?= "0.0.0.0" run_dev ?= uvicorn "robot_server.app:app" --host $(dev_host) --port $(dev_port) --ws wsproto --lifespan on --reload .PHONY: all