Spaces:
Runtime error
Runtime error
| # Use Python 3.10 slim as base image | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Copy your app code and requirements | |
| COPY . /app | |
| RUN pip install --upgrade pip setuptools wheel | |
| RUN pip install --prefer-binary -r requirements.txt | |
| # Expose port and run the app | |
| EXPOSE 5000 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:5000", "app:app"] |