Skip to content

Instantly share code, notes, and snippets.

@BennyHallett
Created October 11, 2014 13:55
Show Gist options
  • Save BennyHallett/81ac88a788607ad876e4 to your computer and use it in GitHub Desktop.
Save BennyHallett/81ac88a788607ad876e4 to your computer and use it in GitHub Desktop.
Simple Dockerfile for use with a Phoenix app
FROM trenpixster/elixir:1.0.1
COPY . /phoenix_app
ENV MIX_ENV prod
WORKDIR /phoenix_app
RUN mix do deps.get, compile
EXPOSE 4000
CMD ["mix", "phoenix.start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment