FROM python:3.9-slim # Set working directory WORKDIR /app RUN mkdir /.config # Copy the application files COPY app.py /app COPY requirements.txt /app # Install required Python libraries RUN pip install --no-cache-dir -r requirements.txt # Expose the default Gradio port EXPOSE 7860 # Run the application CMD ["python", "app.py"]