FROM python:3.10-slim # Install system dependencies RUN apt-get update && apt-get install -y \ git \ cmake \ build-essential WORKDIR /app # Upgrade pip first RUN pip install --no-cache-dir --upgrade pip COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["python3", "app.py"]