Revert "Fix Gleam module compilation in Docker build"

This reverts commit b244007d98.
This commit is contained in:
Graham McIntire 2025-07-27 10:57:29 -05:00
parent b244007d98
commit 58cda247ff
No known key found for this signature in database

View file

@ -24,7 +24,7 @@ RUN mix local.hex --force && \
ENV MIX_ENV=prod
# Install mix dependencies
COPY mix.exs mix.lock gleam.toml ./
COPY mix.exs mix.lock ./
COPY vendor vendor
RUN mix deps.get --only $MIX_ENV && \
mix deps.compile
@ -32,7 +32,6 @@ RUN mix deps.get --only $MIX_ENV && \
# Copy and compile application
COPY config config
COPY lib lib
COPY src src
COPY assets assets
COPY priv priv
COPY rel rel
@ -41,7 +40,6 @@ COPY rel rel
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 gleam.compile && \
mix compile && \
mix assets.deploy && \
mix release