CoolFace
Apppublic

Ritikumar/real_time_face_segmentation

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
Dockerfile20 linesDownload Raw Back to root
1FROM python:3.10-slim2 3RUN apt-get update && apt-get install -y \4    ffmpeg \5    libsm6 \6    libxext6 \7    libgl1 \8    libglib2.0-0 \9 && rm -rf /var/lib/apt/lists/*10 11WORKDIR /app12 13COPY requirements.txt .14RUN pip install --no-cache-dir -r requirements.txt15 16COPY . .17 18EXPOSE 786019 20CMD ["python", "-m", "streamlit", "run", "app.py", "--server.address=0.0.0.0", "--server.port=7860", "--server.enableCORS=false", "--server.enableXsrfProtection=false"]