FROM python:3.9-slim # Set working directory WORKDIR /app # Copy everything into the current directory COPY . . # Install Python dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose the port for Hugging Face Spaces EXPOSE 7860 # Run the app CMD ["python", "app.py"]