Cannot run scala application on docker

I am trying to deploy a scala application on docker, but the server starts and stops immediately with the following log in the console,

— (Running the application, auto-reloading is enabled) —

[info] p.c.s.NettyServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9002

(Server started, use Ctrl+D to stop and go back to the console…)

[info] p.c.s.NettyServer - Stopping server…

I start the server with the following command on docker,

activator -Dsbt.repository.config=./repositories -Dsbt.log.noformat=true clean coverage “run 9002” &

Can someone please help me resolve this issue ?