How can I use Erlang with Docker to run a Phoenix application?
I suggest you to use distillery to build a binary.
Then just run a alpine
container, mount the distillery release
to it, run the binary. Yeah, you can eve use supervisor to run it.
You can use remote_console
of distillery to link to the console of this binary.