FROM python:3.10-slim WORKDIR /app # Copy project files COPY . /app # Install dependencies RUN pip install --upgrade pip RUN pip install -r requirements.txt # HuggingFace Spaces requires this port EXPOSE 7860 # Start Flask CMD ["python", "app.py"]