FROM python:3.12-slim WORKDIR /app COPY requirements.txt . # Install system dependencies RUN apt-get update && apt-get install -y \ git \ curl \ build-essential \ && rm -rf /var/lib/apt/lists/* RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt COPY . . RUN chmod +x start.sh EXPOSE 7860 EXPOSE 8000 CMD ["./start.sh"]