Spaces:
Sleeping
Sleeping
| # Start from an official Python image | |
| FROM python:3.12-slim | |
| # Install system dependencies including git | |
| RUN apt-get update && \ | |
| apt-get install -y git && \ | |
| apt-get clean && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy project files | |
| COPY . /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose the Gradio port | |
| EXPOSE 7860 | |
| # Start the Gradio app | |
| CMD ["python", "app.py"] | |