From 018326eb176c753ee77d7f4b7bb445a87f697dee Mon Sep 17 00:00:00 2001 From: Tim Pietrusky Date: Mon, 19 Aug 2024 14:47:42 +0200 Subject: [PATCH] fix: create directories which are required to run ComfyUI --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 94236d3..de6befa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,6 +50,9 @@ ARG MODEL_TYPE # Change working directory to ComfyUI WORKDIR /comfyui +# Create necessary directories +RUN mkdir -p models/checkpoints models/vae + # Download checkpoints/vae/LoRA to include in image based on model type RUN if [ "$MODEL_TYPE" = "sdxl" ]; then \ wget -O models/checkpoints/sd_xl_base_1.0.safetensors https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors && \