Update mastodon build

This commit is contained in:
Aode (Lion) 2021-10-21 23:17:46 -05:00
parent dbeec69a74
commit 30bf6d514e
3 changed files with 4 additions and 1 deletions

View file

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

View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec bin/tootctl accounts refresh --all