chore: add Docker image pull for MCP in start_ui function

This commit is contained in:
Daulet Amirkhanov 2025-10-08 18:18:43 +01:00
parent 583923903c
commit c54c3546fc

View file

@ -505,6 +505,8 @@ def start_ui(
cwd = os.getcwd() cwd = os.getcwd()
env_file = os.path.join(cwd, ".env") env_file = os.path.join(cwd, ".env")
try: try:
image = "cognee/cognee-mcp:main"
subprocess.run(["docker", "pull", image], check=True)
mcp_process = subprocess.Popen( mcp_process = subprocess.Popen(
[ [
"docker", "docker",