From b36a546b5e113d40e643a98779bc6d49ad173449 Mon Sep 17 00:00:00 2001 From: buttercat1791 Date: Wed, 25 Feb 2026 23:21:17 -0600 Subject: [PATCH] Install Hex for runtime user --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index dd01e5b..31f95e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,6 @@ WORKDIR /app COPY . . # Compile the application -ENV MIX_HOME=/app/.mix RUN mix local.hex --force && mix local.rebar --force RUN mix deps.get --only prod RUN MIX_ENV=prod mix compile @@ -29,6 +28,7 @@ RUN MIX_ENV=prod mix phx.swagger.generate # Run as the isidore-dev user USER 1008 +RUN mix local.hex --force && mix local.rebar --force # Set environment variables for the application ENV PORT=4000