Spaces:
Sleeping
Sleeping
| # Use official Python image | |
| FROM python:3.9-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all code | |
| COPY . . | |
| # Expose port for Gradio | |
| EXPOSE 7860 | |
| # Default command to run the app | |
| CMD ["python", "app.py"] | |