-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (16 loc) · 766 Bytes
/
Dockerfile
File metadata and controls
20 lines (16 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM pytorch/pytorch:2.7.1-cuda12.8-cudnn9-devel AS backend-dev
WORKDIR /workspace
ENV __COMFYUI_DESKTOP_VERSION__="0.3.41"
ENV JUPYTER_PORT="3000"
ENV DEBIAN_FRONTEND="noninteractive"
ENV PYTHONDONTWRITEBYTECODE=1
RUN apt update && apt install -y openssh-server
COPY ./backend/ComfyUI ./ComfyUI
COPY ./backend/ComfyUI-Manager ./ComfyUI/custom_nodes/ComfyUI-Manager
COPY ./backend/SageAttention ./SageAttention
COPY ./backend/provision.sh ./provision.sh
RUN conda create -n comfy python=3.12 && \
conda install -n comfy anaconda::git conda-forge::libgl conda-forge::libglib conda-forge::jupyterlab conda-forge::sqlite && \
conda run -n comfy pip install --no-cache-dir -r ./ComfyUI/requirements.txt && \
conda clean --all -y
CMD [ "./provision.sh" ]