FROM python:3.10-slim # Set working directory WORKDIR /code # Copy files COPY . /code # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Expose port (Hugging Face expects 7860 by default) EXPOSE 7860 # Run the app CMD ["python", "app.py"]