pleroma: add compile script, which also unlocks tzdata
This commit is contained in:
parent
7cd18bac7a
commit
37ea520718
2 changed files with 8 additions and 1 deletions
|
@ -5,5 +5,5 @@ ENV MIX_ENV=prod
|
|||
RUN git clone --depth 1 --branch v1.0.0 https://git.pleroma.social/pleroma/pleroma.git /app/pleroma
|
||||
WORKDIR /app/pleroma
|
||||
VOLUME /app/pleroma/uploads
|
||||
COPY files/run-pleroma /bin/run-pleroma
|
||||
COPY files/ /bin
|
||||
CMD /bin/run-pleroma
|
||||
|
|
7
pleroma/files/compile-pleroma
Executable file
7
pleroma/files/compile-pleroma
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
mix local.hex --force
|
||||
mix local.rebar --force
|
||||
mix deps.unlock tzdata
|
||||
mix deps.get
|
||||
mix compile
|
Loading…
Reference in a new issue