Action server not getting up with docker compose

I am trying with files and after running docker-compose up --build, rasa server is started but action server is giving below error

action_server | data Utils for the Rasa training files. action_server | export Export conversations using an event broker. action_server | evaluate Tools for evaluating models. action_server | action_server | optional arguments: action_server | -h, --help show this help message and exit action_server | --version Print installed Rasa version rasa_server | 2022-06-08 08:32:15 DEBUG rasa.cli.utils - Parameter ‘credentials’ not set. Using default location ‘credentials.yml’ instead. action_server exited with code 0

I followed below link to create files

deployment - Deploy Rasa in Docker - Stack Overflow

Only difference is i am using FROM rasa/rasa:3.1.1-full instead of FROM rasa/rasa:2.8.0, as i was facing cors issues

i also set endpoint

action_endpoint: url: “http://action_server:5055/webhook”

Could anyone tell what i am missing

Looks like a dockerfile CMD or ENTRYPOINT issue. Look at the help desk, financial-demo bot repos for a complete example.

Yes, there was an issue in Docker file but now it is working fine with Docker-compose. Thanks Stephen for replying.