From 080b945a75c23a5d835431873cca362e68d39e98 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Thu, 24 Jul 2025 17:34:40 -0500 Subject: [PATCH] Use compile.elixir to avoid dependency checking MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The mix compile task includes dependency checking which fails for vendored deps. Using compile.elixir directly compiles only the Elixir source files. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba8ecb3..dbbd2b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,8 +53,8 @@ RUN mix deps.compile RUN mkdir -p _build/prod/lib/aprsme/ebin && \ cp priv/gleam/*.beam _build/prod/lib/aprsme/ebin/ || true -# Compile the main application without the gleam_compile alias -RUN mix do compile --no-protocol-consolidation +# Compile the main application and copy gleam files in the release task +RUN MIX_ENV=prod mix do compile.elixir # Install Node.js for asset building RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \