feat(cli): support single-layer user builds

This commit is contained in:
Parker Rule
2026-08-25 22:31:15 -04:00
parent 38031739e5
commit aeb9cdfef1
4 changed files with 114 additions and 8 deletions
+2
View File
@@ -345,6 +345,7 @@ def build_docker_image(
docker_command: Sequence[str] | None = None,
extra_flags: Sequence[str] = (),
verbose: bool = True,
single_user_layer: bool = False,
):
"""Build a Docker image from a LangGraph config."""
# pull latest images
@@ -387,6 +388,7 @@ def build_docker_image(
install_command=install_command,
build_command=build_command,
build_context=build_context,
single_user_layer=single_user_layer,
)
# add additional_contexts
if additional_contexts: