Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/igas/docker-phoenix

Dockerfile ideal for testing Phoenix applications
https://github.com/igas/docker-phoenix

Last synced: about 2 months ago
JSON representation

Dockerfile ideal for testing Phoenix applications

Awesome Lists containing this project

README

        

# 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
```