# Base image FROM python:3.11-slim # Set workdir WORKDIR /app # Copy files COPY requirements.txt . COPY app.py . # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose port for Hugging Face Space EXPOSE 7860 # Launch app CMD ["python", "app.py"]