Closed slmagus closed 3 months ago
Hi! I think the issue here is that the dockerhub chat-ui
image is not meant for external use, it's slightly modified for use with huggingchat
So when you build locally you build it without the custom arguments and the image works.
Consider using the ghcr image instead which is the one people should use: https://github.com/huggingface/chat-ui/pkgs/container/chat-ui
I'll make sure the dockerhub image is renamed to something like hchat-internal
to avoid confusion, thanks for the heads up! 😄
@nsarrazin Looks like you are correct. I could have sworn that even a Nodejs 20 image I built wasn't working. But I just reconfirmed it does work. I also tested the gh container image you linked and I confirm that is also working as expected with my docker-compose
Thanks for all your help. I think this is resolved, but please update the image name to help avoid confusion.
Using the current chat-ui dockerhub image I am unable to connect to localhost:3000 to run a simple instance of chat ui. The webservice returns 'Not Found for all routes'. Included below is my docker-compose file. if I change the chat-ui image to build with node 22 as the version everything works as expected. Does chat-ui have an undocumented dependency on a particular version of the node? There is no 'engine' field in package.json. Should there be one? Should we be using node >= 22? Is there a way to debug this or identify which package is causing the issue?