Spaces:
Runtime error
Runtime error
| # Use Python 3.10 as base image | |
| FROM python:3.10 | |
| # Set the working directory | |
| WORKDIR /app | |
| # Copy the project files | |
| COPY . /app | |
| COPY nltk_data /root/nltk_data | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port 2000 | |
| EXPOSE 2000 | |
| # Run the Flask app | |
| CMD ["python", "final_code.py"] | |