Changed the order of things

This commit is contained in:
Kieran Eglin 2024-07-17 11:25:20 -07:00
parent 6131542bcc
commit fccbde0fff
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -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"