Spaces:
Configuration error
Configuration error
| # Use Python 3.11 slim image | |
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy application | |
| COPY . . | |
| # Expose port for Gradio | |
| EXPOSE 7860 | |
| # Health check | |
| HEALTHCHECK CMD curl --fail http://localhost:7860/_info/ || exit 1 | |
| # Run the app | |
| CMD ["python", "app.py"] | |