8 lines
383 B
Docker
8 lines
383 B
Docker
FROM mcr.microsoft.com/devcontainers/python:1-3.12
|
|
WORKDIR /
|
|
RUN git clone --single-branch --branch $(git ls-remote --tags --sort="v:refname" https://github.com/comfyanonymous/ComfyUI.git | tail -n1 | sed 's/.*\///; s/\^{}//') https://github.com/comfyanonymous/ComfyUI
|
|
WORKDIR /ComfyUI
|
|
RUN pip install --upgrade pip
|
|
# Install ComfyUI dependencies
|
|
RUN pip install -r requirements.txt
|