code: def build_docker_image(
      dc_pipeline: "towhee.RuntimePipeline",
      image_name: str,
      cuda_version: str,
      format_priority: list,
      parallelism: int = 8,
      inference_server: str = "triton",
  ):
      """
      Wrapper for lazy import build_docker_image.
  
      Args:
          dc_pipeline ('towhee.RuntimPipeline'):
              The pipeline to build as a model in the docker image.
          image_name (`str`):
              The name of the docker image.
          cuda_version (`str`):
              Cuda version.
          format_priority (`list`):
              The priority order of the model format.
          parallelism (`int`):
              The parallel number.
          inference_server (`str`):
              The inference server.
  
      Examples:
          >>> import towhee
          >>> from towhee import pipe, ops
  
          >>> p = (
          ...     pipe.input('url')
          ...         .map('url', 'image', ops.image_decode.cv2_rgb())
          ...         .map('image', 'vec', ops.image_embedding.timm(model_name='resnet50'))
          ...         .output('vec')
          ... )
  
          >>> towhee.build_docker_image(
          ...     dc_pipeline=p,
          ...     image_name='clip:v1',
          ...     cuda_version='11.7',
          ...     format_priority=['onnx'],
          ...     parallelism=4,
          ...     inference_server='triton'
          ... )
      """
      return server_builder.build_docker_image(
          dc_pipeline,
          image_name,
          cuda_version,
          format_priority,
          parallelism,
          inference_server,
      )
  
file_path: towhee/towhee/__init__.py
imports: import sys
  from towhee.runtime import register, pipe, ops, accelerate, AutoConfig, AutoPipes
  from towhee.data_loader import DataLoader
  from towhee.serve.triton import triton_client
  from towhee.utils.lazy_import import LazyImport
  from towhee import types
label_desc: Use image node_id 1 for calling a global function with example usage: build_docker_image(dc_pipeline, image_name, cuda_version, format_priority, parallelism, inference_server) and returns: server_builder