From 294e91724a03f405126ee1897b5fbba7faf03c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 24 Apr 2025 13:56:08 +0200 Subject: [PATCH] fix: do not override the entrypoint when running container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since https://github.com/meta-llama/llama-stack/pull/2005 the run configuration is embedded into the container image itself and the entrypoint is correctly configured during the container image build process. We don't need to override the container image entrypoint anymore. Signed-off-by: Sébastien Han --- llama_stack/distribution/start_stack.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llama_stack/distribution/start_stack.sh b/llama_stack/distribution/start_stack.sh index d3e13c7dc..4da0e8c84 100755 --- a/llama_stack/distribution/start_stack.sh +++ b/llama_stack/distribution/start_stack.sh @@ -152,12 +152,8 @@ elif [[ "$env_type" == "container" ]]; then $CONTAINER_BINARY run $CONTAINER_OPTS -it \ -p $port:$port \ $env_vars \ - -v "$yaml_config:/app/config.yaml" \ $mounts \ --env LLAMA_STACK_PORT=$port \ - --entrypoint python \ $container_image:$version_tag \ - -m llama_stack.distribution.server.server \ - --yaml-config /app/config.yaml \ $other_args fi