class_docstr: Build triton image
class_docstr_tok: ["Build","triton","image"]
code: def prepare_config(self, workspace: Path):
      config = self._server_config
      with open(workspace / "server_config.json", "w") as f:
          json.dump(config, f)
  
file_path: towhee/towhee/serve/triton/docker_image_builder.py
imports: import json
  import shutil
  import subprocess
  from pathlib import Path
  from tempfile import TemporaryDirectory
  from towhee.serve.triton.dockerfiles import get_dockerfile
label_desc: Use image node_id 3 for calling the DockerImageBuilder obj's underlying member method code with example usage: obj.prepare_config(workspace) without return types