Spaces:
Sleeping
Sleeping
| # Use official Python base image | |
| FROM python:3.9 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy project files | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . | |
| # Expose the required port (Spaces default is 7860) | |
| EXPOSE 7860 | |
| # Run the Flask app | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"] |