# Base image FROM python:3.9-slim # Set working directory WORKDIR /app # Copy files COPY . . # Install dependencies RUN pip install -r requirements.txt # Expose port used by Flask EXPOSE 7860 # Run the app CMD ["python", "app.py"]