Ohh so you have a data container that is just pg and and a redis container. Quite the setup.
That means you had to rebuild the redis container before doing the app rebuild. Since you already rebuilt the redis container, the next app rebuild should work.