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:
parent
439265c2c2
commit
d42824a6ca
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue