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:
parent
bde7800d48
commit
080b945a75
1 changed files with 2 additions and 2 deletions
|
|
@ -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 - && \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue