mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
docs: update tmp directory creation
This commit is contained in:
parent
1a065c7d63
commit
913e9679c2
1 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ providers:
|
||||||
Once we have defined the run configuration for Llama Stack, we can build an image with that configuration and the server source code:
|
Once we have defined the run configuration for Llama Stack, we can build an image with that configuration and the server source code:
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir -p /tmp/test-vllm-llama-stack && cat >/tmp/test-vllm-llama-stack/Containerfile.llama-stack-run-k8s <<EOF
|
tmp_dir=$(mktemp -d) && cat >$tmp_dir/Containerfile.llama-stack-run-k8s <<EOF
|
||||||
FROM distribution-myenv:dev
|
FROM distribution-myenv:dev
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git
|
RUN apt-get update && apt-get install -y git
|
||||||
|
@ -134,7 +134,7 @@ RUN git clone https://github.com/meta-llama/llama-stack.git /app/llama-stack-sou
|
||||||
|
|
||||||
ADD ./vllm-llama-stack-run-k8s.yaml /app/config.yaml
|
ADD ./vllm-llama-stack-run-k8s.yaml /app/config.yaml
|
||||||
EOF
|
EOF
|
||||||
podman build -f /tmp/test-vllm-llama-stack/Containerfile.llama-stack-run-k8s -t llama-stack-run-k8s /tmp/test-vllm-llama-stack
|
podman build -f $tmp_dir/Containerfile.llama-stack-run-k8s -t llama-stack-run-k8s $tmp_dir
|
||||||
```
|
```
|
||||||
|
|
||||||
### Deploying Llama Stack Server in Kubernetes
|
### Deploying Llama Stack Server in Kubernetes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue