deploy, RUN mix release, "failed to compute cache key: not found"

But it looks like the “purge” step is too aggressive. You may need to tweak the generated Dockefile.

In the Dockerfile, look for a comment with “note: if your project uses a tool like https://purgecss.com/” and follow it to make the change. This may be your issue.