# ============================ #1. Python Base Image # ============================ FROM python:3.10-slim # ============================ #2. Working folder # ============================ WORKDIR /app # ============================ #3. Copy requirements.txt # ============================ COPY requirements.txt . # ============================= # 4. Install Python dependencies # ============================ RUN pip install --no-cache-dir -r requirements.txt # ============================ # 5. Copy your application # ============================= COPY app.py . COPY favicon.png . # ============================= # 6. Expose the Gradio port # ============================ EXPOSE 7860 # ============================ # 7. Launch your app # ============================= CMD ["python", "app.py"]