Use compile.elixir to avoid dependency checking

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 <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-07-24 17:34:40 -05:00
parent bde7800d48
commit 080b945a75
No known key found for this signature in database

View file

@ -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 - && \