mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-23 04:40:15 +08:00
Improve documentation regarding pip install step
This commit is contained in:
parent
c4c388ffc8
commit
7795a4e86c
14
Dockerfile
14
Dockerfile
@ -47,11 +47,15 @@ USER comfyui
|
|||||||
RUN python -m venv .venv
|
RUN python -m venv .venv
|
||||||
ENV PATH="/comfyui/.venv/bin:$PATH"
|
ENV PATH="/comfyui/.venv/bin:$PATH"
|
||||||
|
|
||||||
# Install Python dependencies. This step is also performed automatically by the
|
# Install ComfyUI's Python dependencies. Although dependency keeping is also
|
||||||
# entrypoint script, but doing it at build time reduces startup time on the
|
# performed at startup, building ComfyUI's base dependencies into the image
|
||||||
# first run.
|
# significantly speeds up each containers' first run.
|
||||||
COPY requirements.txt ./
|
#
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
# 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.
|
# Install ComfyUI and link the data mount points.
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user