Skip to main content
base supplies the container image and its Python interpreter. add_local_dir and add_local_file mount files over the image when each container starts instead of building them into it, so editing them rebuilds nothing. Later mounts win where paths overlap.

from_registry

method

with_uv_pip_install

method

add_local_dir

method
Mount a local directory’s files under the absolute remote_path. A Run uploads them only when the service lacks this exact tree.

add_local_file

method
Mount one local file at the absolute remote_path.