forked from phoenix/litellm-mirror
build(ui/): Add dockerfile for ui
This commit is contained in:
parent
a41e56a730
commit
ff3f3844c7
2 changed files with 17 additions and 98 deletions
17
ui/Dockerfile
Normal file
17
ui/Dockerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Use official Python base image
|
||||
FROM python:3.9
|
||||
|
||||
# Set the working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
# Copy the requirements.txt file to the container
|
||||
COPY requirements.txt .
|
||||
|
||||
# Install Python dependencies
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy the entire project directory to the container
|
||||
COPY . .
|
||||
|
||||
# Set the entrypoint command to run admin.py with Streamlit
|
||||
ENTRYPOINT ["streamlit", "run", "admin.py"]
|
Loading…
Add table
Add a link
Reference in a new issue