Skip to content

Commit

Permalink
fix: create directories which are required to run ComfyUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Pietrusky authored and Tim Pietrusky committed Aug 19, 2024
1 parent 0db21af commit 018326e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 018326e

Please sign in to comment.