Agreed, I’m actually still using this combo because it still seems to be the best. I’ve created a build script in bash that allows me to just plug in a version of ROCm, PyTorch and ComfyUI without messing with the dockerfile or compose file and it’ll just make me a new local image with these versions. This might not be the best way to do things but it’s been the best way I could figure out. Bind mounts in Dockerfiles are ephemeral, they only last for the duration of one command making them extremely limited in their usefulness.
I also realize I could just use a python virtual environment in my home directory instead of Docker but I feel like using Docker with predefined base images gives me more repeatability in my setup. For example what if my Distro updates some package that subtly breaks things? Unlikely but it still could happen.