Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/igas/docker-phoenix
- Owner: igas
- License: mit
- Created: 2016-10-06T11:14:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:34:06.000Z (about 1 year ago)
- Last Synced: 2024-10-16T08:48:03.862Z (4 months ago)
- Homepage: https://hub.docker.com/r/marvellousmutants/phoenix/
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```