FROM python:3.11-slim RUN apt-get update -qq && apt-get install -y -qq \ curl wget git build-essential \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY requirements.txt . RUN pip3 install --no-cache-dir -r requirements.txt COPY app.py . EXPOSE 7860 CMD ["python3", "app.py"]