diff --git a/llama_stack/distribution/build_container.sh b/llama_stack/distribution/build_container.sh index 8044dda28..ae2b17d9e 100755 --- a/llama_stack/distribution/build_container.sh +++ b/llama_stack/distribution/build_container.sh @@ -77,9 +77,9 @@ if [ -n "$LLAMA_STACK_DIR" ]; then # Install in editable format. We will mount the source code into the container # so that changes will be reflected in the container without having to do a # rebuild. This is just for development convenience. - add_to_docker "RUN pip install -e $stack_mount" + add_to_docker "RUN pip install --no-cache -e $stack_mount" else - add_to_docker "RUN pip install llama-stack" + add_to_docker "RUN pip install --no-cache llama-stack" fi if [ -n "$LLAMA_MODELS_DIR" ]; then @@ -90,19 +90,19 @@ if [ -n "$LLAMA_MODELS_DIR" ]; then add_to_docker <