Spaces:
Sleeping
Sleeping
# Use an official Python runtime as a parent image | |
FROM python:3.12-slim | |
# Set the working directory | |
WORKDIR /app | |
# Copy the current directory contents into the container at /app | |
COPY . /app | |
# Install system dependencies | |
RUN apt-get update && apt-get install -y \ | |
git \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Install Python dependencies | |
RUN pip install --no-cache-dir --upgrade pip | |
RUN pip install --no-cache-dir -r requirements.txt | |
# Expose port 8501 for Streamlit | |
EXPOSE 8501 | |
# Run the Streamlit app | |
# CMD ["streamlit", "run", "run.py", "--server.port=8501", "--server.address=0.0.0.0"] | |
CMD ["streamlit", "run", "ui/app.py", "--server.port=8501", "--server.address=0.0.0.0"] | |