FROM python:3.9-slim # Install dependency OpenCV nu anyar keur Debian/Ubuntu RUN apt-get update && apt-get install -y \ libgl1 \ libglib2.0-0 \ libsm6 \ libxext6 \ libxrender-dev \ && rm -rf /var/lib/apt/lists/* WORKDIR /app # Copy kabeh file ka jero container COPY . . # Install library python RUN pip install --no-cache-dir -r requirements.txt # Jalankeun API CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]