CoolFace
Apppublic

Inspecta/DMD2_InstantID_Faceswap

sourceHugging Faceupdated 1y agoView on Hugging Face
3likes
Dockerfile27 linesDownload Raw Back to root
1FROM python:3.10-slim2 3WORKDIR /app4 5# Install system dependencies6RUN apt-get update && \7    apt-get install -y git wget && \8    rm -rf /var/lib/apt/lists/*9 10# Clone ComfyUI into /app/ComfyUI11RUN git clone https://github.com/comfyanonymous/ComfyUI.git /app/ComfyUI12 13# Copy requirements and install Python packages14COPY requirements.txt .15RUN pip install --no-cache-dir -r requirements.txt16 17# Download models into ComfyUI structure18COPY download_models.py .19RUN python download_models.py20 21# Copy app code and workflow22COPY app.py .23COPY workflow_api.json .24 25EXPOSE 786026CMD ["python", "app.py"]27