Actions work locally but not after pushing on to dockerhub

I currently have a Rasa X deployment using the quick installation script found in the docs. I have connected the deployment to a dockerhub action image using the action_server_tag. The problem I am facing is that some actions run on rasa x but some actions are not running properly. All actions run with no problems locally. My action server contains dependencies and I suspect it has something to do with that.

This was how I built my docker image and pushed to dockerhub:

Action was correctly identified to run but expected response not shown:

What is supposed to happen: image

Please help me as this is my last hurdle before the bot is production ready :worried:

Hello,

Please share your docker-compose.override.yml file also