Scripting fixup

This commit is contained in:
sn0w 2019-08-25 22:39:22 +02:00
parent e7bfeecc2d
commit b44d428493
2 changed files with 6 additions and 6 deletions

View File

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

View File

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