forked from phoenix-oss/llama-stack-mirror
# What does this PR do? Adds a container file that can be used to build the playground UI. This file will be built by this PR in the stack-ops repo: https://github.com/meta-llama/llama-stack-ops/pull/9 Docker command in the docs will need to change once I know the address of the official repository. ## Test Plan Tested image on my local Openshift Instance using this helm chart: https://github.com/Jaland/llama-stack-helm/tree/main/llama-stack [//]: # (## Documentation) --------- Co-authored-by: Jamie Land <hokie10@gmail.com>
11 lines
382 B
Docker
11 lines
382 B
Docker
# More info on playground configuration can be found here:
|
|
# https://llama-stack.readthedocs.io/en/latest/playground
|
|
|
|
FROM python:3.9-slim
|
|
WORKDIR /app
|
|
COPY . /app/
|
|
RUN /usr/local/bin/python -m pip install --upgrade pip && \
|
|
/usr/local/bin/pip3 install -r requirements.txt
|
|
EXPOSE 8501
|
|
|
|
ENTRYPOINT ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]
|