Public | Automated Build

Last pushed: a year ago
Short Description
Elixir Phoenix Framework
Full Description

image::logo.png[]

:phoenix_ver: 1.2.1
:elixir_ver: 1.3.3
:node_ver: 6.7.0
:erlang_ver: 19.0
:toc: false

[source,sh,subs="verbatim,attributes"]

$> sudo docker pull 1986/phoenix:{phoenix_ver}

A docker image that can be used for all Phoenix Framework actions.
This image includes NodeJS for live reloading.

The Docker image contains the following software, and versions:

  • Elixir {elixir_ver}
  • NodeJS {node_ver}
  • Erlang {erlang_ver}
  • Phoenix {phoenix_ver}

== How-To

=== [optional] Build the image

[source,sh,subs="verbatim,attributes"]

$> git clone https://github.com/ph-One/docker-phoenix-framework.git
$> cd docker-phoenix-framework
$> git checkout {phoenix_ver}

$> sudo docker build -t phoenix:{phoenix_ver} -f Dockerfile .

=== Create a new project

[source,sh,subs="verbatim,attributes"]

$> sudo docker run --rm -it -v pwd:/code 1986/phoenix:{phoenix_ver} phoenix.new helloPhoenix

$> cd HelloPhoenix

=== Build and run your project

[source,sh,subs="verbatim,attributes"]

$> sudo docker run --rm -it -v pwd:/code 1986/phoenix:{phoenix_ver}


== Roadmap

  • [x] Handle all mix actions
  • [x] phoenix.new
  • [x] Run phoenix.server (default behavior of container)
Docker Pull Command
Owner
1986
Source Repository

Comments (0)