9. 注意你的 System Architecture
• If you built your release on Mac, you can only run
the release binary on a Mac Host.
• Don’t include ERT
• Build with docker, then pull out the release.
• https://hexdocs.pm/distillery/
walkthrough.html#deploying-your-release
10. This is my Dockerfile…
• After following the distillery guide…
• https://github.com/elixirtw/elixir_tw/blob/master/
Dockerfile
• docker run -it -d elixir_tw:latest bash
• docker cp <container_id>:/app/rel/elixir_tw/
releases/0.0.1 ./rel/docker_rel
• docker rm -f <container_id>