Don't digest release files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5c7067b22b
commit
89bbafb44c
@ -242,8 +242,9 @@ package-app:
|
|||||||
script: &release-script
|
script: &release-script
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
- mix local.rebar --force
|
- mix local.rebar --force
|
||||||
- mix deps.get
|
- mix deps.get --only-prod
|
||||||
- mix phx.digest
|
- mix compile
|
||||||
|
- mix phx.digest.clean --all && \
|
||||||
- mix release --path release/mobilizon
|
- mix release --path release/mobilizon
|
||||||
- cd release/mobilizon && ln -s lib/mobilizon-*/priv priv && cd ../../
|
- cd release/mobilizon && ln -s lib/mobilizon-*/priv priv && cd ../../
|
||||||
- du -sh release/
|
- du -sh release/
|
||||||
|
@ -30,7 +30,7 @@ COPY rel ./rel
|
|||||||
COPY support ./support
|
COPY support ./support
|
||||||
COPY --from=assets ./priv/static ./priv/static
|
COPY --from=assets ./priv/static ./priv/static
|
||||||
|
|
||||||
RUN mix phx.digest \
|
RUN mix phx.digest.clean --all \
|
||||||
&& mix release
|
&& mix release
|
||||||
|
|
||||||
# Finally setup the app
|
# Finally setup the app
|
||||||
|
Loading…
Reference in New Issue
Block a user