This commit is contained in:
+8
-1
@@ -6,6 +6,8 @@ WORKDIR /app
|
||||
# Get release version from https://github.com/comfyanonymous/ComfyUI/releases
|
||||
ARG ComfyUI_Release=0.3.43
|
||||
|
||||
RUN pip install imageio controlnet_aux
|
||||
|
||||
RUN wget https://github.com/comfyanonymous/ComfyUI/archive/refs/tags/v${ComfyUI_Release}.tar.gz && \
|
||||
tar xzf v${ComfyUI_Release}.tar.gz && \
|
||||
rm v${ComfyUI_Release}.tar.gz && \
|
||||
@@ -16,10 +18,15 @@ WORKDIR /app/comfyui
|
||||
RUN ln -sf /usr/bin/python3 /usr/bin/python && \
|
||||
ln -sf /usr/bin/pip3 /usr/bin/pip
|
||||
|
||||
#RUN grep -vE "^(torch|#)" requirements.txt | sed 's/==.*//' | sed 's/>=.*//' | sed 's/~=.*//' | xargs pip install
|
||||
RUN grep -vE "^(torch|#)" requirements.txt | xargs pip install && \
|
||||
pip install torchsde
|
||||
|
||||
WORKDIR /app/comfyui/custom_nodes
|
||||
|
||||
RUN git clone https://github.com/Comfy-Org/ComfyUI-Manager.git
|
||||
|
||||
WORKDIR /app/comfyui
|
||||
|
||||
EXPOSE 8188
|
||||
|
||||
CMD ["python", "main.py", "--listen", "0.0.0.0"]
|
||||
|
||||
Reference in New Issue
Block a user