Spaces:
Running
Running
| FROM python:3.9 | |
| # Set up the working directory | |
| WORKDIR /app | |
| # Copy the requirements file and install dependencies | |
| COPY requirements.txt requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| # Copy the rest of the application code | |
| COPY . . | |
| # Run the application on port 7860 | |
| CMD ["python", "app.py"] |