# Elixir + Phoenix FROM elixir:1.12.2 # Install debian packages RUN apt-get update RUN apt-get install --yes build-essential inotify-tools postgresql-client # Install Phoenix packages RUN mix local.hex --force RUN mix local.rebar --force RUN mix archive.install hex phx_new --force COPY setup.sh /usr/local/bin/ EXPOSE 4012 ENTRYPOINT ["setup.sh"]