From 21b32c1d0ded4ddea7f47992b596f04bc67811e2 Mon Sep 17 00:00:00 2001 From: Sabiha Khan <87858386+chewwbaka@users.noreply.github.com> Date: Thu, 5 Mar 2026 16:20:36 +0530 Subject: [PATCH] fix: keep the start_services_dev script alive for docker (#178) * fix: keep the start_services_dev script alive for docker * fix: setup doc --- docs/contribution/setup.mdx | 4 +--- scripts/start_services_dev.sh | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/contribution/setup.mdx b/docs/contribution/setup.mdx index dd30c3b..1182ddc 100644 --- a/docs/contribution/setup.mdx +++ b/docs/contribution/setup.mdx @@ -63,9 +63,7 @@ bash scripts/start_services_dev.sh ``` Verify that your backend server is running ``` -(venv)abhishek$ curl -X GET localhost:8000/api/v1/health -{"message":"OK"} -(venv)abhishek$ +curl -X GET localhost:8000/api/v1/health ``` You would be able to see the logs in logs/ directory. ``` diff --git a/scripts/start_services_dev.sh b/scripts/start_services_dev.sh index 86e54d7..91fdf73 100755 --- a/scripts/start_services_dev.sh +++ b/scripts/start_services_dev.sh @@ -217,3 +217,6 @@ echo "Logs: tail -f $LOG_DIR/*.log" echo "Rotated logs: ls $LOG_DIR/*.log.*" echo "To stop: ./scripts/stop_services.sh" echo "──────────────────────────────────────────────────" + +# Keep the script alive (required for Docker - PID 1 must not exit) +wait