Rasa Service is running but not listening Error

Sure!! this is my docker compose:

version: ‘3.4’
services:

duckling-server:
image: rasa/duckling:latest
ports:
- 8000:8000
networks:
- all

rasa-server:
image: rasa-bot:latest
working_dir: /app
build: “./”
restart: always
volumes:
- ./actions:/app/actions
- ./data:/app/data
- ./models:/app/models
command: bash -c “rm -rf models/* && rasa train && rasa run --enable-api --cors "*" --debug”
ports:
- ‘5006:5006’
public: true
networks:
- all

rasa-actions-server:
image: rasa-bot:latest
working_dir: /app
build: “./”
restart: always
volumes:
- ./actions:/app/actions
- ./dataCsv:/app/dataCsv
- ./mnFunc:/app/mnFunc
- ./funcs:/app/funcs
command: [“rasa”, “run”, “actions”]
ports:
- ‘5055:5055’
networks:
- all

networks:
all:
driver: bridge
driver_opts:
com.docker.network.enable_ipv6: “true”

and this is my okteto.yml:
name: rasa-server
command: bash
volumes:

  • /root/.cache/pip
    sync:
  • .:/app
    forward:
  • 5006:5005
    reverse:
  • 8080:8080