Spaces:
Runtime error
Runtime error
| FROM pytorch/pytorch:2.3.0-cuda12.1-cudnn8-runtime | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| ENV PYTHONUNBUFFERED=1 | |
| RUN apt-get update && apt-get install -y \ | |
| git wget curl libgl1 libglib2.0-0 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| # Instalar ComfyUI | |
| RUN git clone https://github.com/comfyanonymous/ComfyUI.git /app/ComfyUI | |
| WORKDIR /app/ComfyUI | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| RUN pip install --no-cache-dir \ | |
| xformers \ | |
| huggingface_hub | |
| # Crear directorios de modelos | |
| RUN mkdir -p models/checkpoints models/loras models/vae models/clip models/unet models/controlnet | |
| # Script de inicio | |
| COPY start.sh /app/start.sh | |
| RUN chmod +x /app/start.sh | |
| EXPOSE 7860 | |
| CMD ["/app/start.sh"] | |