Scripting fixup
This commit is contained in:
parent
e7bfeecc2d
commit
b44d428493
@ -72,6 +72,3 @@ RUN \
|
|||||||
cp ./config/dev.exs ./config/prod.secret.exs \
|
cp ./config/dev.exs ./config/prod.secret.exs \
|
||||||
&& BUILDTIME=1 /entrypoint.sh \
|
&& BUILDTIME=1 /entrypoint.sh \
|
||||||
&& rm ./config/prod.secret.exs
|
&& rm ./config/prod.secret.exs
|
||||||
|
|
||||||
# Insert overrides
|
|
||||||
COPY --chown=pleroma:pleroma ./custom.d /home/pleroma/pleroma
|
|
||||||
|
@ -4,13 +4,16 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ -n "$BUILDTIME" ]; then
|
if [ -n "$BUILDTIME" ]; then
|
||||||
echo "#> Preparing compilation..."
|
echo "#> Getting rebar..."
|
||||||
|
|
||||||
mix local.rebar --force
|
mix local.rebar --force
|
||||||
|
|
||||||
|
echo "#> Getting hex..."
|
||||||
mix local.hex --force
|
mix local.hex --force
|
||||||
|
|
||||||
echo "#> Compiling..."
|
echo "#> Getting dependencies..."
|
||||||
mix deps.get
|
mix deps.get
|
||||||
|
|
||||||
|
echo "#> Precompiling..."
|
||||||
mix compile
|
mix compile
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user