This is an example project showing how to build a phoenix app with docker and publish it on Zeit.
Add a dependency on your mix.exs
file for distillery
Setup your rel/config.exs
file.
Check on Dockerfile*
for the correct elixir version to be used during build.
- Copy this project's
docker_build
task
Building the release inside docker is important if you want to include the ERTS (erlang runtime) as the binary needs to be created for the target platform.
mix docker.build
now
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix