diff --git a/docker/dev.Dockerfile b/docker/dev.Dockerfile index 3d08fa4..2641c24 100644 --- a/docker/dev.Dockerfile +++ b/docker/dev.Dockerfile @@ -49,14 +49,15 @@ ENV LANG en_US.UTF-8 ENV LANGUAGE en_US:en ENV LC_ALL en_US.UTF-8 -# Create app directory and copy the Elixir projects into it. -WORKDIR /app -COPY . ./ - # Install Elixir deps # RUN mix archive.install github hexpm/hex branch latest RUN mix deps.get && 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 ENV ERL_AFLAGS="-kernel shell_history enabled"