When i run my code using "rasa shell" my code works fine even custom action also works....but as i run docker-compose up my custom action not working showing this error

@Sagar_Indian Sagar you need to update your code, let me guide you.

Step1: You need first fix the code for rasa and rasa-sdk dockerfile and docker-compose. Please refer this link Dockerizing my rasa chatbot application that has botfront - #11 by nik202

Step2: Check you are able to run the docker image on port 5005 for rasa server and 5055 for rasa sdk, not you need to provide root acces and expose 5005 and 5055 as mention in above thread and also provide USER 1001.

Step3: Then try to deploy using rasa-webchat and flask app. If you deploying on a website you should only use rasa webchat snippet code.

Note: you did not mention the rasa-sdk image in the docker file and in the endpoint you mentioned 5055. Docker image can be built in various ways but please do ref above thread.

If you have any doubts or issues please let me know. I hope you will be able to solve it now. Good Luck!