mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-18 04:59:56 +00:00
RHAIENG-565: purge the midstream repo content to only host the build artifacts, so only the redhat-distribution should remain
This commit is contained in:
parent
5d65c017b0
commit
9803329350
8 changed files with 448 additions and 0 deletions
11
redhat-distribution/Containerfile.in
Normal file
11
redhat-distribution/Containerfile.in
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
FROM registry.access.redhat.com/ubi9/python-312@sha256:95ec8d3ee9f875da011639213fd254256c29bc58861ac0b11f290a291fa04435
|
||||
WORKDIR /opt/app-root
|
||||
|
||||
RUN pip install sqlalchemy # somehow sqlalchemy[asyncio] is not sufficient
|
||||
{dependencies}
|
||||
RUN pip install --no-cache llama-stack==0.2.14
|
||||
RUN mkdir -p ${{HOME}}/.llama/providers.d ${{HOME}}/.cache
|
||||
COPY redhat-distribution/run.yaml ${{APP_ROOT}}/run.yaml
|
||||
COPY redhat-distribution/providers.d/ ${{HOME}}/.llama/providers.d/
|
||||
|
||||
ENTRYPOINT ["python", "-m", "llama_stack.distribution.server.server", "--config", "/opt/app-root/run.yaml"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue