FROM python:3.10-slim # Install system dependencies RUN apt-get update && apt-get install -y \ libcrypt1 \ libgl1 \ && rm -rf /var/lib/apt/lists/* # Install Python packages COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["python", "app.py"]