Makefile:
build-release:
echo "Make sure you bumped the version in mix.exs"
$(eval VERSION := $(shell sed -n '/version:/s/ *version: "\(.*\)",/\1/p' mix.exs))
sleep 3
mix deps.get
cd assets && ./node_modules/brunch/bin/brunch b -p
MIX_ENV=prod mix phx.digest
docker run -it -v `pwd`:/src --rm --workdir /src -e MIX_ENV=prod erlang-builder mix do deps.clean comeonin, deps.get, compile, release --env=prod