mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-17 07:05:12 +08:00
Improve documentation regarding pip install step
This commit is contained in:
parent
2aa8bb85bb
commit
c8d94a8bb8
14
Dockerfile
14
Dockerfile
@ -47,11 +47,15 @@ USER comfyui
|
||||
RUN python -m venv .venv
|
||||
ENV PATH="/comfyui/.venv/bin:$PATH"
|
||||
|
||||
# Install Python dependencies. This step is also performed automatically by the
|
||||
# entrypoint script, but doing it at build time reduces startup time on the
|
||||
# first run.
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Install ComfyUI's Python dependencies. Although dependency keeping is also
|
||||
# performed at startup, building ComfyUI's base dependencies into the image
|
||||
# significantly speeds up each containers' first run.
|
||||
#
|
||||
# Since this step takes a long time to complete, it's performed early to take
|
||||
# advantage of Docker's build cache, thereby accelerating subsequent builds.
|
||||
COPY requirements.txt manager_requirements.txt ./
|
||||
RUN pip install --no-cache-dir --disable-pip-version-check \
|
||||
-r requirements.txt
|
||||
|
||||
# Install ComfyUI and link the data mount points.
|
||||
COPY . .
|
||||
|
||||
Loading…
Reference in New Issue
Block a user