Created
September 7, 2017 00:24
-
-
Save sionide21/5a86fd0e1b019f061fb3e696c6492eb9 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.5.1 | |
RUN mkdir /app | |
WORKDIR /app | |
EXPOSE 7777 | |
ENV PORT=7777 | |
ENV MIX_ENV=prod | |
RUN mix local.hex --force && mix local.rebar --force | |
COPY mix.* ./ | |
RUN mix do deps.get, deps.compile | |
COPY . ./ | |
CMD ["mix", "run", "--no-halt"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment