Skip to content

Instantly share code, notes, and snippets.

@bsedat
bsedat / Dockerfile
Last active August 8, 2023 05:56
Elixir Phoenix Umbrella App + Distillery Multistage Docker Build
FROM elixir:1.4.5 as asset-builder-mix-getter
ENV HOME=/opt/app
RUN mix do local.hex --force, local.rebar --force
# Cache elixir deps
COPY config/ $HOME/config/
COPY mix.exs mix.lock $HOME/
COPY apps/myproject_web/mix.exs $HOME/apps/myproject_web/
COPY apps/myproject_web/config/ $HOME/apps/myproject_web/config/

Keybase proof

I hereby claim:

  • I am bsedat on github.
  • I am bsedat (https://keybase.io/bsedat) on keybase.
  • I have a public key ASB2VfMF6rhWYB7Zd7gqwpMo3ES7mQUVI_7SyPWH8XxbzAo

To claim this, I am signing this object: