FROM python:3.10 # Set working directory to the root of the repo WORKDIR /app # Copy everything into the container COPY . . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Hugging Face Spaces require port 7860 EXPOSE 7860 # Run your app CMD ["python", "app.py"]