Created
December 5, 2018 22:37
-
-
Save joeljuca/8ae8bf852b0734a489ec862bb6725313 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM elixir:1.7.4-alpine | |
LABEL maintainer="Joel Wallis Jucá <joelwallis@gmail.com>" | |
ENV MIX_ENV prod | |
WORKDIR /app | |
COPY . $WORKDIR | |
RUN mix local.hex --force | |
RUN mix local.rebar --force | |
RUN mix deps.get | |
RUN mix compile | |
EXPOSE 8080 | |
CMD mix run --no-halt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment