Skip to content

igas/docker-phoenix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published