copy current context instead of clone repo

This commit is contained in:
hassan00dev 2024-12-28 18:33:35 +05:00
parent 2b0b6db2ce
commit 0018c8d7bd

View File

@ -14,9 +14,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libgl1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workspace
RUN git clone https://github.com/comfyanonymous/ComfyUI.git
WORKDIR /workspace/ComfyUI
COPY . .
RUN pip3 install --upgrade pip
RUN pip3 install --no-cache-dir -r requirements.txt