/phoenix-api

A public Docker image for making Phoenix APIs

A Docker container for the Phoenix framework

It features all the latest versions of the Phoenix web framework, the Elixir language and the Erlang platform.

No Node installation is present so Brunch will not work (no Assets management). This is for APIs only.

Borrowed from https://github.com/marcelocg/phoenix-docker

Phoenix Logo

Phoenix is a framework for building scalable web applications with realtime connectivity across all your devices. It relies on the Elixir language for making the development of maintainable applications productive and fun.

Building local image

docker build -t thewalkingtoast/phoenix-api:latest .

How to use this image

docker run -it --rm -v "$PWD":/code -w /code thewalkingtoast/phoenix-api mix phoenix.new --no-brunch /code/my_new_app

Test it out

docker run -it --rm -v "$PWD":/code -w /code/my_new_app thewalkingtoast/phoenix-api iex -S mix phoenix.server