Spaces:
Sleeping
Sleeping
| # Use Python as base image | |
| FROM python:3.9 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy files to container | |
| COPY . /app | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port 7860 | |
| EXPOSE 7860 | |
| # Command to run Flask app | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "app:app"] | |