so in the end it was the strapi cli obviously does not have the env variables available that where passed to the docekr container during deploy. A simple source .env && export $(cut -d= -f1 < .env) before running the command did the trick
so in the end it was the strapi cli obviously does not have the env variables available that where passed to the docekr container during deploy. A simple source .env && export $(cut -d= -f1 < .env) before running the command did the trick