FROM pytorch/pytorch:2.5.0-cuda12.4-cudnn9-runtime
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install -y libgl1-mesa-glx libglib2.0-0 && \
apt install -y libgl1-mesa-glx libxkbcommon-x11-0 qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools tmux \
libegl1-mesa-dev libgles2-mesa-dev
COPY ./requirements.txt ./requirements.txt
RUN python3 -m pip install -r requirements.txt
WORKDIR /workspace/ComfyUI
RUN conda install -n base ipykernel --update-deps --force-reinstall
RUN apt install git curl wget -y
# Specify the command to run your Python script
CMD ["python3", "main.py"]
# docker build . -t hienanh/comfyui:py3.11-torch2.5.0-cuda12.4-cudnn9-runtime
# docker_nvidia --rm --name comfyui_dev -p 8188:8188 -v $(pwd):/workspace/ComfyUI -v /mnt/hdd_1tb/ComfyUI/models:/mnt/hdd_1tb/ComfyUI/models hienanh/comfyui:py3.11-torch2.5.0-cuda12.4-cudnn9-runtime
Content type
Image
Digest
sha256:0c6ea337c…
Size
3.9 GB
Last updated
almost 2 years ago
docker pull hienanh/comfyui:py3.11-torch2.5.0-cuda12.4-cudnn9-runtime