pleroma: add compile script, which also unlocks tzdata

master
eater 6 years ago
parent 7cd18bac7a
commit 37ea520718

@ -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

@ -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…
Cancel
Save