Docker: Change docker-compose.yml to include my channel socketChannel.py

I am trying to use my own socket.io code in socketChannel.py. I have it in my top level directory with credentials.yml. I’m getting a module not found error. What do I need to change in my docker-compose.yml for it to find socketChannel.py. You can see I’m copying socketChannel.py to the app directory in the services volumes section.

I got it to work. the part where I’m copying socketChannel.py to /app, I moved it from the rasa-x section to the rasa-production section and it works.