Skip to content

Commit 6edf62b

Browse files
TimPietruskyTim Pietrusky
and
Tim Pietrusky
authored
fix: create directories which are required to run ComfyUI (#58)
Co-authored-by: Tim Pietrusky <[email protected]>
1 parent 0db21af commit 6edf62b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ ARG MODEL_TYPE
5050
# Change working directory to ComfyUI
5151
WORKDIR /comfyui
5252

53+
# Create necessary directories
54+
RUN mkdir -p models/checkpoints models/vae
55+
5356
# Download checkpoints/vae/LoRA to include in image based on model type
5457
RUN if [ "$MODEL_TYPE" = "sdxl" ]; then \
5558
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 && \

0 commit comments

Comments
 (0)