devbucky/Rhinoplasty-PronoseAI
0
1FROM python:3.102 3# Install system dependencies for MediaPipe, OpenCV, and Gradio4RUN apt-get update && apt-get install -y \5 libgl1 \6 libglib2.0-0 \7 libsm6 \8 libxext6 \9 libxrender1 \10 libgomp1 \11 libgthread-2.0-0 \12 libavcodec-dev \13 libavformat-dev \14 libswscale-dev \15 ffmpeg \16 git \17 && rm -rf /var/lib/apt/lists/*18 19WORKDIR /app20 21# Copy requirements and install Python packages22COPY requirements.txt .23RUN pip install --no-cache-dir --upgrade pip && \24 pip install --no-cache-dir -r requirements.txt25 26# Copy application files27COPY . .28 29# Expose Gradio default port30EXPOSE 786031 32# Run the applications33CMD ["python", "app.py"]