diff --git a/Dockerfile b/Dockerfile index fc3f4f3..bc4758a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,8 @@ WORKDIR /app COPY . . # Compile the application +RUN mix local.hex --force && mix local.rebar --force +RUN mix deps.get --only prod RUN MIX_ENV=prod mix compile # Update the static Swagger documentation