class_docstr: Build triton image
class_docstr_tok: ["Build","triton","image"]
code: def __init__(
      self,
      towhee_pipeline: "towhee.RuntimePipeline",
      image_name: str,
      server_config: dict,
      cuda_version: str,
  ):
      self._towhee_pipeline = towhee_pipeline
      self._image_name = image_name
      self._server_config = server_config
      self._cuda_version = cuda_version
  
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 1 to create a new DockerImageBuilder object  with example: obj = DockerImageBuilder(towhee_pipeline, image_name, server_config, cuda_version)