Now seems to work properly in a docker container and on the site.