# Use Python 3.11 base image FROM python:3.11 # Set working directory WORKDIR /app # Copy all project files COPY . . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose port 7860 (Hugging Face Spaces requirement) EXPOSE 7860 # Run the Flask app CMD ["python", "app.py"]