diff --git a/mastodon/Dockerfile.arm64v8 b/mastodon/Dockerfile.arm64v8 index a9d9bf8..8d6a2c4 100644 --- a/mastodon/Dockerfile.arm64v8 +++ b/mastodon/Dockerfile.arm64v8 @@ -42,7 +42,7 @@ RUN mkdir -p /opt/mastodon/.config/yarn/global && \ gem install bundler:1.17.2 && \ bundle config set deployment 'true' && \ bundle install -j$(nproc) --without development test --with production && \ - yarn install --pure-lockfile + yarn install --pure-lockfile --network-timeout=30000 # Compile assets RUN OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder \ diff --git a/mastodon/root/usr/bin/mastodon-accounts b/mastodon/root/usr/bin/mastodon-accounts-cull similarity index 100% rename from mastodon/root/usr/bin/mastodon-accounts rename to mastodon/root/usr/bin/mastodon-accounts-cull diff --git a/mastodon/root/usr/bin/mastodon-accounts-refresh b/mastodon/root/usr/bin/mastodon-accounts-refresh new file mode 100755 index 0000000..5487d98 --- /dev/null +++ b/mastodon/root/usr/bin/mastodon-accounts-refresh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec bin/tootctl accounts refresh --all