Merge branch 'main' of https://git.mistox.net/derek/ComfyUI-ARM64-Docker
This commit is contained in:
@@ -5,6 +5,9 @@ FROM ubuntu:26.04
|
|||||||
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
ENV PIP_BREAK_SYSTEM_PACKAGES=1
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
# Copy compiled ROCm from builder
|
||||||
|
COPY --from=builder /opt/rocm /opt/rocm
|
||||||
|
|
||||||
RUN apt update -y && apt install -y --no-install-recommends \
|
RUN apt update -y && apt install -y --no-install-recommends \
|
||||||
rocm-dev \
|
rocm-dev \
|
||||||
rocm-libs \
|
rocm-libs \
|
||||||
@@ -18,7 +21,6 @@ RUN apt update -y && apt install -y --no-install-recommends \
|
|||||||
libglib2.0-0 \
|
libglib2.0-0 \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Clone ComfyUI
|
# Clone ComfyUI
|
||||||
@@ -28,17 +30,11 @@ RUN git clone https://github.com/comfyanonymous/ComfyUI.git .
|
|||||||
RUN grep -vE 'torch|torchaudio|torchvision' requirements.txt > req_no_torch.txt \
|
RUN grep -vE 'torch|torchaudio|torchvision' requirements.txt > req_no_torch.txt \
|
||||||
&& pip3 install --no-cache-dir -r req_no_torch.txt
|
&& pip3 install --no-cache-dir -r req_no_torch.txt
|
||||||
|
|
||||||
# Set custom Nodes
|
# Setup Manager
|
||||||
WORKDIR /app/custom_nodes
|
WORKDIR /app/custom_nodes
|
||||||
|
|
||||||
# Install ComfyUi Manager
|
|
||||||
RUN git clone https://github.com/Comfy-Org/ComfyUI-Manager.git
|
RUN git clone https://github.com/Comfy-Org/ComfyUI-Manager.git
|
||||||
|
|
||||||
# Go back to root
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Expose the default ComfyUI port
|
|
||||||
EXPOSE 8188
|
EXPOSE 8188
|
||||||
|
|
||||||
# Launch ComfyUI
|
CMD ["python3", "main.py", "--listen", "0.0.0.0"]
|
||||||
CMD ["python3", "main.py", "--listen", "0.0.0.0"]
|
|
||||||
Reference in New Issue
Block a user