class_docstr: Build triton image
class_docstr_tok: ["Build","triton","image"]
code: def build_image(self, workspace: Path):
      cmd = "cd {} && docker build -t {} .".format(
          workspace, self._image_name
      )
      subprocess.run(cmd, shell=True, check=True)
  
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 4 for calling the DockerImageBuilder obj's underlying member method code with example usage: obj.build_image(workspace) without return types