update docker-entrypoint

This commit is contained in:
John Doe
2025-11-23 17:43:10 -05:00
parent 747b5a069c
commit 25d31c4ae6

View File

@@ -110,4 +110,13 @@ echo "Installing ComfyUI requirements..."
pip install -r requirements.txt
echo "Starting ComfyUI..."
python main.py --listen 0.0.0.0 --port 8188 --use-pytorch-cross-attention
if [ -f "start.sh" ]; then
echo "Found start.sh, executing it..."
chmod +x start.sh
./start.sh
else
echo "No start.sh found, creating default startup script..."
echo "python main.py --listen 0.0.0.0 --port 8188 --use-pytorch-cross-attention" > start.sh
chmod +x start.sh
./start.sh
fi