chetantiwari/Computer-Vision-Project-Work
1
1FROM python:3.9-slim2 3WORKDIR /app4 5# Install system dependencies including libGL6RUN apt-get update && apt-get install -y \7 libgl1 \8 libglib2.0-0 \9 libsm6 \10 libxext6 \11 libxrender-dev \12 libgomp1 \13 && rm -rf /var/lib/apt/lists/*14 15 16COPY requirements.txt .17RUN pip install --no-cache-dir -r requirements.txt18 19COPY . .20 21EXPOSE 786022 23CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]24 