Spaces:
Sleeping
Sleeping
| FROM python:3.10-slim | |
| # Install system dependencies including Graphviz | |
| RUN apt-get update && apt-get install -y \ | |
| graphviz \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Set work directory | |
| WORKDIR /app | |
| # Copy application files | |
| COPY . . | |
| # Upgrade pip and install Python dependencies | |
| RUN pip install --upgrade pip | |
| RUN pip install -r requirements.txt | |
| # Run the Gradio app | |
| CMD ["python", "app.py"] | |