code: def expands_bento_path(
      *path: str, bento_path: str = BENTO_PATH
  ) -> str:
      """
      Expand a given paths with respect to :code:`BENTO_PATH`.
      Note on using "/": the returned path is meant to be used in the generated Dockerfile.
      """
      return "/".join([bento_path, *path])
  
file_path: BentoML/src/bentoml/_internal/container/generate.py
imports: from __future__ import annotations
  import logging
  import os
  import typing
  from typing import TYPE_CHECKING
  from jinja2 import Environment
  from jinja2.loaders import FileSystemLoader
  from ..configuration.containers import BentoMLContainer
  from ..utils import resolve_user_filepath
  from .frontend.dockerfile import DistroSpec
label_desc: Use image node_id 1 for calling a global function with example usage: expands_bento_path() and returns: str