forked from phoenix/litellm-mirror
17 lines
No EOL
432 B
Docker
17 lines
No EOL
432 B
Docker
# 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"] |