build(ui/): Add dockerfile for ui

This commit is contained in:
Krrish Dholakia 2024-01-01 17:18:44 +05:30
parent a41e56a730
commit ff3f3844c7
2 changed files with 17 additions and 98 deletions

17
ui/Dockerfile Normal file
View 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"]