The code is disabled in the admin settings but would prefer to not waste any bits loading this plugin which we don’t plan to use.
Could not find any Discourse config parameter to disable this plugin from being loaded when the container is built (now we can only disable, but the plugin code is loaded).
Ideally, for us, would be to have a config variable in the container build YML file which instructs the build to omit this plugin code (searched and did not find one).
You could always use an old, unsupported version of discourse which doesn’t have the chat functionality built in, although I don’t think the security risks would be worth removing the chat function.
It’s possible to put an rm -rf chat in your app.yml, but I don’t recommend it for all of the reasons mentioned already, so if you want to do that you’ll need to look at some other examples of how to run commands in your app.yml.