Spaces:
Build error
Build error
| # Start with a supported Python version | |
| FROM python:3.9-slim | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy the requirements.txt file | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the code to the container | |
| COPY . . | |
| # Command to run the app (adjust the filename if needed) | |
| CMD ["python", "app.py"] |