Rebuild app fails (Docker and cat)

Can you try the following:

cd /var/discourse
git pull
./launcher rebuild app