Deploying With Distillery and Docker

I use Distillery to generate Erlang releases for my Elixir applications. Through this post, I'll explain how I generate the releases that get shipped to production.

I use Docker to ensure that the final Erlang release is always the same across production instances. This approach also allows me to avoid generating the release on production, which means my production instances stay slimmer by not having Erlang, Elixir, and Node installed natively.