Update Dockerfile
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
|
@@ -1,25 +1,18 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
-
# Instala depend锚ncias de sistema
|
| 4 |
RUN apt-get update && apt-get install -y \
|
| 5 |
git wget ffmpeg libgl1 libglib2.0-0 libsm6 libxext6 libxrender-dev unzip && \
|
| 6 |
rm -rf /var/lib/apt/lists/*
|
| 7 |
|
| 8 |
-
# Cria diret贸rio de trabalho
|
| 9 |
WORKDIR /app
|
| 10 |
|
| 11 |
-
# Clona o ComfyUI oficial
|
| 12 |
RUN git clone https://github.com/comfyanonymous/ComfyUI.git .
|
| 13 |
|
| 14 |
-
# Instala PyTorch (CPU) e depend锚ncias
|
| 15 |
RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu && \
|
| 16 |
pip install -r requirements.txt
|
| 17 |
|
| 18 |
-
# Instala os nodes personalizados
|
| 19 |
RUN git clone https://github.com/kijai/ComfyUI-Florence2 custom_nodes/Florence2
|
| 20 |
-
RUN git clone https://github.com/pysssss/ComfyUI-ShowText custom_nodes/ShowText
|
| 21 |
RUN git clone https://github.com/rgthree/rgthree-comfy custom_nodes/rgthree
|
| 22 |
RUN git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale custom_nodes/UltimateSDUpscale
|
| 23 |
|
| 24 |
-
# Roda o servidor
|
| 25 |
CMD python main.py --listen 0.0.0.0 --port 7860
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
|
|
|
| 3 |
RUN apt-get update && apt-get install -y \
|
| 4 |
git wget ffmpeg libgl1 libglib2.0-0 libsm6 libxext6 libxrender-dev unzip && \
|
| 5 |
rm -rf /var/lib/apt/lists/*
|
| 6 |
|
|
|
|
| 7 |
WORKDIR /app
|
| 8 |
|
|
|
|
| 9 |
RUN git clone https://github.com/comfyanonymous/ComfyUI.git .
|
| 10 |
|
|
|
|
| 11 |
RUN pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu && \
|
| 12 |
pip install -r requirements.txt
|
| 13 |
|
|
|
|
| 14 |
RUN git clone https://github.com/kijai/ComfyUI-Florence2 custom_nodes/Florence2
|
|
|
|
| 15 |
RUN git clone https://github.com/rgthree/rgthree-comfy custom_nodes/rgthree
|
| 16 |
RUN git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale custom_nodes/UltimateSDUpscale
|
| 17 |
|
|
|
|
| 18 |
CMD python main.py --listen 0.0.0.0 --port 7860
|