Skip to content

Commit

Permalink
fix: create directories which are required to run ComfyUI (blib-la#58)
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Pietrusky <[email protected]>
  • Loading branch information
TimPietrusky and Tim Pietrusky authored Nov 10, 2024
1 parent 0db21af commit 6edf62b
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 6edf62b

Please sign in to comment.