mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
fix docker
This commit is contained in:
parent
2ba8047013
commit
e4d399b1f2
2 changed files with 8 additions and 2 deletions
|
@ -118,8 +118,14 @@ class StackBuild(Subcommand):
|
||||||
f"Build spec configuration saved at {str(build_file_path)}",
|
f"Build spec configuration saved at {str(build_file_path)}",
|
||||||
color="blue",
|
color="blue",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
configure_name = (
|
||||||
|
build_config.name
|
||||||
|
if build_config.image_type == "conda"
|
||||||
|
else (f"llamastack-{build_config.name}")
|
||||||
|
)
|
||||||
cprint(
|
cprint(
|
||||||
f"You may now run `llama stack configure {build_config.name}` or `llama stack configure {str(build_file_path)}`",
|
f"You may now run `llama stack configure {configure_name}` or `llama stack configure {str(build_file_path)}`",
|
||||||
color="green",
|
color="green",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,4 @@ set -x
|
||||||
podman run -it \
|
podman run -it \
|
||||||
-v $host_build_dir:$container_build_dir \
|
-v $host_build_dir:$container_build_dir \
|
||||||
$docker_image \
|
$docker_image \
|
||||||
llama stack configure --config ./llamastack-build.yaml --output-dir $container_build_dir
|
llama stack configure ./llamastack-build.yaml --output-dir $container_build_dir
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue