From 58995a0f4cdb83963454f82d19382542bdde3f76 Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Thu, 31 Jul 2025 13:35:04 -0600 Subject: [PATCH] Update start_services.py to rebuild local AI services on startup - Modified the command in start_local_ai function to include the --build flag, ensuring that local AI services are rebuilt each time they are started, which helps in applying the latest changes to the services. --- start_services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start_services.py b/start_services.py index 40cad7c..3cfa1cb 100755 --- a/start_services.py +++ b/start_services.py @@ -112,7 +112,7 @@ def start_local_ai(): """Start the local AI services (using its compose file).""" print("Starting local AI services...") cmd = ["docker", "compose", "-p", "localai"] - cmd.extend(["-f", "docker-compose.yml", "up", "-d"]) + cmd.extend(["-f", "docker-compose.yml", "up", "-d", "--build"]) run_command(cmd) def generate_searxng_secret_key():