From b44d428493844115773932fc456faf1c8682e367 Mon Sep 17 00:00:00 2001 From: sn0w Date: Sun, 25 Aug 2019 22:39:22 +0200 Subject: [PATCH] Scripting fixup --- Dockerfile | 3 --- entrypoint.sh | 9 ++++++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1ec4161..1166f50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,6 +72,3 @@ RUN \ cp ./config/dev.exs ./config/prod.secret.exs \ && BUILDTIME=1 /entrypoint.sh \ && rm ./config/prod.secret.exs - -# Insert overrides -COPY --chown=pleroma:pleroma ./custom.d /home/pleroma/pleroma diff --git a/entrypoint.sh b/entrypoint.sh index 789dcaf..dcce13a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,13 +4,16 @@ set -e if [ -n "$BUILDTIME" ]; then - echo "#> Preparing compilation..." - + echo "#> Getting rebar..." mix local.rebar --force + + echo "#> Getting hex..." mix local.hex --force - echo "#> Compiling..." + echo "#> Getting dependencies..." mix deps.get + + echo "#> Precompiling..." mix compile exit 0 fi