Changed the order of things
This commit is contained in:
parent
6131542bcc
commit
fccbde0fff
1 changed files with 5 additions and 4 deletions
|
|
@ -49,14 +49,15 @@ ENV LANG en_US.UTF-8
|
||||||
ENV LANGUAGE en_US:en
|
ENV LANGUAGE en_US:en
|
||||||
ENV LC_ALL en_US.UTF-8
|
ENV LC_ALL en_US.UTF-8
|
||||||
|
|
||||||
# Create app directory and copy the Elixir projects into it.
|
|
||||||
WORKDIR /app
|
|
||||||
COPY . ./
|
|
||||||
|
|
||||||
# Install Elixir deps
|
# Install Elixir deps
|
||||||
# RUN mix archive.install github hexpm/hex branch latest
|
# RUN mix archive.install github hexpm/hex branch latest
|
||||||
RUN mix deps.get && mix deps.compile
|
RUN mix deps.get && mix deps.compile
|
||||||
RUN MIX_ENV=test mix deps.get && MIX_ENV=test mix deps.compile
|
RUN MIX_ENV=test mix deps.get && MIX_ENV=test mix deps.compile
|
||||||
|
|
||||||
|
# Create app directory and copy the Elixir projects into it.
|
||||||
|
WORKDIR /app
|
||||||
|
COPY . ./
|
||||||
|
|
||||||
# Gives us iex shell history
|
# Gives us iex shell history
|
||||||
ENV ERL_AFLAGS="-kernel shell_history enabled"
|
ENV ERL_AFLAGS="-kernel shell_history enabled"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue