Tailwind in prod - sh: 1: tailwindcss: not found

this assets.deploy is still calling npm
so, IMHO, you need to npm install -g tailwindcss in your docker file.

^^ this is the npm run deploy in your package.json, right?