diff --git a/Dockerfile b/Dockerfile index 783f121..93f5c1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,15 +15,12 @@ COPY . . # Compile the application RUN mix local.hex --force && mix local.rebar --force -RUN mix deps.get +RUN mix deps.get --only prod RUN MIX_ENV=prod mix compile # Update the static Swagger documentation RUN MIX_ENV=prod mix phx.swagger.generate -# Compile application static assets -RUN MIX_ENV=prod mix assets.deploy - # Set the locale ENV LANG=en_US.UTF-8 ENV LANGUAGE=en_US:en