From fccbde0fff7eafe55d636f783bf589c64d47a308 Mon Sep 17 00:00:00 2001 From: Kieran Eglin Date: Wed, 17 Jul 2024 11:25:20 -0700 Subject: [PATCH] Changed the order of things --- docker/dev.Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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"