address comments, configure within docker file

This commit is contained in:
Xi Yan 2024-09-15 23:16:18 -07:00
parent fd67cfff39
commit e466ec389b
7 changed files with 53 additions and 48 deletions

View file

@ -21,6 +21,8 @@ if [ $# -lt 2 ]; then
fi
docker_image="$1"
build_file_path="$2"
host_build_dir="$2"
container_build_dir="/app/builds"
podman run -it $docker_image cat build.yaml >> ./$build_file_path
set -x
podman run -it -v $host_build_dir:$container_build_dir $docker_image llama stack configure ./llamastack-build.yaml --output-dir $container_build_dir