Revert "Fix Gleam module compilation in Docker build"
This reverts commit b244007d98.
This commit is contained in:
parent
b244007d98
commit
58cda247ff
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue