work with docker

This commit is contained in:
saltacc
2024-02-02 21:18:08 -08:00
parent 135e9ff50c
commit 2a7c508d78
5 changed files with 97 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
python3 -m venv ComfyUI/venv
ComfyUI/venv/bin/pip install -r ComfyUI/requirements.txt
echo "ComfyUI has been installed successfully!"
ComfyUI/venv/bin/python3 initialize_comfy_extensions.py
echo "Extensions have been installed successfully!"
ComfyUI/venv/bin/pip freeze > docker_requirements.txt
echo "Requirements have been saved to docker_requirements.txt"
echo "Removing venv..."
rm -rf ComfyUI/venv
exit 0