Spaces:
Build error
Build error
| # Use Python 3.9 as the base image | |
| FROM python:3.10 | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the requirements file into the container | |
| COPY requirements.txt . | |
| # Install the dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the application into the container | |
| COPY . . | |
| # Expose the application port | |
| EXPOSE 5000 | |
| # Run the application | |
| CMD ["python", "app.py"] | |