igas / docker-phoenix

Dockerfile ideal for testing Phoenix applications

Home Page:https://hub.docker.com/r/marvellousmutants/phoenix/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-phoenix

Dockerfile ideal for testing Phoenix applications. Given it also contains Elixir, it can also be used to test other types of Elixir apps.

However, given a bunch of other components are also pre-installed such as ImageMagick, PhantomJS etc, it's more specialised towards Phoenix apps.

Installed Components

  • Elixir 1.3
  • Phoenix 1.2
  • PhantomJS (latest)
  • ImageMagick (latest)
  • zsh (latest)

Example Dockerfile

FROM marvellousmutants/phoenix:latest

# Create working directory
RUN mkdir /app
WORKDIR /app

# Get your app and add it to the working directory
ADD . /app

# Get and compile hex dependencies
RUN mix deps.clean --all
RUN mix deps.get
RUN mix deps.compile

# Run the test suite!
RUN mix test

About

Dockerfile ideal for testing Phoenix applications

https://hub.docker.com/r/marvellousmutants/phoenix/

License:MIT License