Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cyntachs committed Aug 12, 2023
1 parent 0b9d241 commit 01f2149
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM pytorch/pytorch:latest

ENV NVIDIA_VISIBLE_DEVICES=all
ENV CLI_ARGS=""
ENV PYTHONPATH="${PYTHONPATH}:${PWD}" CLI_ARGS=""

RUN apt update && apt install git python3-pip libsm6 libxext6 -y && apt clean

Expand All @@ -10,9 +10,10 @@ RUN git clone https://github.com/comfyanonymous/ComfyUI.git ${ROOT} && \
cd ${ROOT} && \
pip install -r requirements.txt

RUN cd ${ROOT}/custom_nodes && \
WORKDIR ${ROOT}

RUN cd ./custom_nodes && \
git clone https://github.com/ltdrdata/ComfyUI-Manager.git

WORKDIR ${ROOT}
EXPOSE 5555
CMD python -u main.py --listen --port 5555 ${CLI_ARGS}

0 comments on commit 01f2149

Please sign in to comment.