Update mastodon build
This commit is contained in:
parent
dbeec69a74
commit
30bf6d514e
3 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,7 @@ RUN mkdir -p /opt/mastodon/.config/yarn/global && \
|
||||||
gem install bundler:1.17.2 && \
|
gem install bundler:1.17.2 && \
|
||||||
bundle config set deployment 'true' && \
|
bundle config set deployment 'true' && \
|
||||||
bundle install -j$(nproc) --without development test --with production && \
|
bundle install -j$(nproc) --without development test --with production && \
|
||||||
yarn install --pure-lockfile
|
yarn install --pure-lockfile --network-timeout=30000
|
||||||
|
|
||||||
# Compile assets
|
# Compile assets
|
||||||
RUN OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder \
|
RUN OTP_SECRET=precompile_placeholder SECRET_KEY_BASE=precompile_placeholder \
|
||||||
|
|
3
mastodon/root/usr/bin/mastodon-accounts-refresh
Executable file
3
mastodon/root/usr/bin/mastodon-accounts-refresh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
bundle exec bin/tootctl accounts refresh --all
|
Loading…
Reference in a new issue