Note that these dockerfiles depend on:
- Having Docker installed on your machine
- Rebuilding the image every time you want to try your latest code
- Passing necessary environment variables when you
docker run
- Your app includes distillery and coveralls
Make modifications as needed to meet those requirements.
Note that multi-stage builds can be used to combine the prod
and test
files described below, I haven't updated the gist yet to reflect that option.