Skip to content

Commit

Permalink
fixed version
Browse files Browse the repository at this point in the history
  • Loading branch information
arunbluez committed Dec 6, 2024
1 parent 156e721 commit 6521ca9
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions Dockerfile copy
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,20 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/*

# Install ComfyUI and its requirements
# Install comfy-cli
RUN pip install comfy-cli

# Install ComfyUI
RUN /usr/bin/yes | comfy --workspace /comfyui install --cuda-version 11.8 --nvidia --version 0.2.7

# Change working directory to ComfyUI
WORKDIR /comfyui
RUN git clone https://github.com/comfyanonymous/ComfyUI.git . \
&& git checkout ${COMFYUI_VERSION} \
&& pip install --no-cache-dir torch==2.1.0 torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu118 \
&& pip install --no-cache-dir -r requirements.txt \
&& pip install --no-cache-dir runpod requests comfy-cli

COPY src/extra_model_paths.yaml ./extra_model_paths.yaml
# Install runpod
RUN pip install runpod requests

# Support for the network volume
ADD src/extra_model_paths.yaml ./

WORKDIR /
# Copy your custom handler and configuration files
Expand Down

0 comments on commit 6521ca9

Please sign in to comment.