File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
container-images/llama-stack Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,19 @@ FROM registry.fedoraproject.org/fedora:42
33# hack that should be removed when the following bug is addressed
44# https://github.com/containers/ramalama-stack/issues/53
55RUN curl --create-dirs --output ~/.llama/providers.d/remote/inference/ramalama.yaml https://raw.githubusercontent.com/containers/ramalama-stack/refs/tags/v0.1.3/src/ramalama_stack/providers.d/remote/inference/ramalama.yaml && \
6- curl --create-dirs --output ~/.llama/distributions /ramalama/ramalama-run.yaml https://raw.githubusercontent.com/containers/ramalama-stack/refs/tags/v0.1.3/src/ramalama_stack/ramalama-run.yaml
6+ curl --create-dirs --output /etc /ramalama/ramalama-run.yaml https://raw.githubusercontent.com/containers/ramalama-stack/refs/tags/v0.1.3/src/ramalama_stack/ramalama-run.yaml
77
88RUN dnf -y update && \
99 dnf -y install uv cmake gcc gcc-c++ python3-devel pkg-config sentencepiece-devel && \
1010 dnf -y clean all
1111
12- RUN uv venv && \
13- uv pip install ramalama-stack && \
14- uv run llama stack run --image-type venv --image-name /.venv ~/.llama/distributions/ramalama/ramalama-run.yaml
12+ RUN uv venv && \
13+ uv pip install ramalama-stack
14+
15+ ENV INFERENCE_MODEL=/mnt/model/model.file
1516
1617COPY --chmod=755 llama-stack/entrypoint.sh /usr/bin/entrypoint.sh
1718
1819ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]
1920
21+ CMD llama stack run --image-type venv /etc/ramalama/ramalama-run.yaml
You can’t perform that action at this time.
0 commit comments