From d94b0315ee5429872cad228fc00fe4247c67268c Mon Sep 17 00:00:00 2001 From: warby Date: Sat, 13 Dec 2025 00:05:42 -0600 Subject: [PATCH] [ENV-4] Fix Nano Banana installation with correct repository URL - Update repository URL from jeffy5 to ru4ls (correct repo) - Add pip install step for Nano Banana dependencies - Add CUSTOM_NODES_DIR variable to entrypoint script - Node now installs dependencies from requirements.txt automatically Repository: https://github.com/ru4ls/ComfyUI_Nano_Banana --- scripts/docker-entrypoint.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh index d291445aa..668d76eb4 100755 --- a/scripts/docker-entrypoint.sh +++ b/scripts/docker-entrypoint.sh @@ -7,6 +7,7 @@ set -e COMFYUI_DIR="/app/ComfyUI" VENV_DIR="/app/venv" WORKDIR="${COMFYUI_DIR}" +CUSTOM_NODES_DIR="${COMFYUI_DIR}/custom_nodes" cd "${WORKDIR}" @@ -61,7 +62,13 @@ fi if [ "${INSTALL_NANO_BANANA:-false}" = "true" ]; then echo "Installing Nano Banana custom node..." export COMFYUI_DIR="${COMFYUI_DIR}" - comfy-node-install https://github.com/jeffy5/ComfyUI-Nano-Banana || echo "Warning: Nano Banana installation failed" + comfy-node-install https://github.com/ru4ls/ComfyUI_Nano_Banana || echo "Warning: Nano Banana clone failed" + + # Install Nano Banana dependencies if requirements.txt exists + if [ -f "${CUSTOM_NODES_DIR}/ComfyUI_Nano_Banana/requirements.txt" ]; then + echo "Installing Nano Banana dependencies..." + pip install --no-cache-dir -r "${CUSTOM_NODES_DIR}/ComfyUI_Nano_Banana/requirements.txt" || echo "Warning: Nano Banana dependencies installation failed" + fi fi # Check if OpenTelemetry endpoint is configured