mirror of
https://memleak.eu/sn0w/pleroma-docker.git
synced 2024-12-22 01:38:47 -05:00
Scripting fixup
This commit is contained in:
parent
e7bfeecc2d
commit
b44d428493
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user