A nice, simple setup for Docker-based dev.
$ make build
docker build -t elixir-docker-dev-minimal .
*Docker stuff*
$ make shell
docker run \
--interactive \
--tty \
--volume /Users/yourusername/repos/elixir-docker-dev-minimal:/opt/app \
elixir-docker-dev-minimal /bin/bash
running entrypoint.sh
ran entrypoint.sh
root@somehash:/opt/app#build: Build the Docker image. Will use theapp_namevariable at the top of the Makefileshell: Run the Docker container in interactive mode, mount the local directory (with read/write) to/opt/app, and start a shell session.