File size: 1,036 Bytes
61c2824 c18cb29 61c2824 555b1db efde2d3 61c2824 c18cb29 61c2824 c18cb29 31b1155 61c2824 c18cb29 61c2824 0600313 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | FROM python:3.10-slim
RUN apt-get update && apt-get install -y \
git wget ffmpeg libgl1 libglib2.0-0 libsm6 libxext6 libxrender-dev unzip && \
rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
ENV CUDA_VISIBLE_DEVICES=""
RUN git clone https://github.com/comfyanonymous/ComfyUI.git .
RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu && \
pip install -r requirements.txt && \
pip install matplotlib
RUN git clone https://github.com/kijai/ComfyUI-Florence2 custom_nodes/Florence2
RUN git clone https://github.com/rgthree/rgthree-comfy custom_nodes/rgthree
RUN git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale custom_nodes/UltimateSDUpscale
RUN mkdir -p /workspace/output /workspace/temp /workspace/database && \
chmod -R 777 /workspace && \
chmod -R 777 /workspace/custom_nodes/UltimateSDUpscale
CMD python main.py --listen 0.0.0.0 --port 7860 --cpu --user-directory /workspace --output-directory /workspace/output --temp-directory /workspace/temp
|