Spaces:
Sleeping
Sleeping
| # Use a standard Python 3.9 image | |
| FROM python:3.9-slim | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy the requirements file first and install dependencies | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of your project files into the container | |
| COPY . . | |
| # Tell Hugging Face to expose port 7860 | |
| EXPOSE 7860 | |
| # The command to run your Flask app | |
| CMD ["python", "app.py"] |