mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
fix: do not override the entrypoint when running container
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 <seb@redhat.com>
This commit is contained in:
parent
14e60e3c02
commit
294e91724a
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue