minhvh commited on
Commit
18ccdb8
·
verified ·
1 Parent(s): 60ede7c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \
9
  WORKDIR /workspace
10
  RUN git clone https://github.com/comfyanonymous/ComfyUI.git
11
 
12
- RUN sed -i 's/torch.device(torch.cuda.current_device())/torch.device("cpu")/' comfy/model_management.py
13
 
14
  # Cài Python package
15
  WORKDIR /workspace/ComfyUI
 
9
  WORKDIR /workspace
10
  RUN git clone https://github.com/comfyanonymous/ComfyUI.git
11
 
12
+ RUN sed -i 's/torch.device(torch.cuda.current_device())/torch.device("cpu")/' /workspace/ComfyUI/comfy/model_management.py
13
 
14
  # Cài Python package
15
  WORKDIR /workspace/ComfyUI