fix: remove vendor/aprs local dependency from Dockerfile

Remove references to vendor/aprs directory since the app uses GitHub
dependency {:aprs, github: "aprsme/aprs", branch: "main"} instead.
This was causing build failures when trying to compile non-existent
local vendor code.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Graham McIntire 2025-10-22 14:58:00 -05:00
parent 439265c2c2
commit d42824a6ca
No known key found for this signature in database

View file

@ -24,7 +24,6 @@ ENV MIX_ENV=prod
# Install mix dependencies
COPY mix.exs mix.lock ./
COPY vendor vendor
RUN mix deps.get --only $MIX_ENV && \
mix deps.compile
@ -36,10 +35,7 @@ COPY priv priv
COPY rel rel
# Build application
RUN cd vendor/aprs && mix compile && cd ../.. && \
mkdir -p _build/prod/lib/aprs/ebin && \
cp -r vendor/aprs/_build/prod/lib/aprs/ebin/* _build/prod/lib/aprs/ebin/ && \
mix compile && \
RUN mix compile && \
mix assets.deploy && \
mix release