Use Docker to create an Elixir/Phoenix development environment

Cesar William Alvarenga
The Startup
Published in
2 min readJun 13, 2020

--

What is Elixir/Phoenix?

In a nutshell, Phoenix is a web framework that is written in the Elixir programming language and runs on top of the Erlang virtual machine. We use Elixir for building low-latency, fault-tolerant, distributed systems, which are increasingly necessary qualities of modern web applications.

For more information, click here.

Let’s create our development environment!

It’s the simplest way to create your Elixir/Phoenix development environment using Docker.

Step 1: create those files below to your project directory

The first file is the Docker file, which specifies the Elixir image and its version. In this file, I’m using the latest version, but you can use another version supported by the Elixir image. This Dockerfile declares all the dependencies necessary to build a Phoenix application.

--

--

The Startup
The Startup

Published in The Startup

Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +772K followers.

Responses (8)