I have a rails app that runs in a docker container. Once the container is up I exec into it and run rake dev:server:start & which starts the server
exec
rake dev:server:start &