Change mastodon:setup to not call assets:precompile in docker (#13942)

It appears assets are built during image build, and they shouldn't need
to be rebuilt, since we now have reproducible builds.
This commit is contained in:
Claire 2021-03-24 10:37:24 +01:00 committed by GitHub
parent 1c4dee4554
commit 82556834cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -371,6 +371,7 @@ namespace :mastodon do
end end
end end
unless using_docker
prompt.say "\n" prompt.say "\n"
prompt.say 'The final step is compiling CSS/JS assets.' prompt.say 'The final step is compiling CSS/JS assets.'
prompt.say 'This may take a while and consume a lot of RAM.' prompt.say 'This may take a while and consume a lot of RAM.'
@ -385,6 +386,7 @@ namespace :mastodon do
prompt.say 'Done!' prompt.say 'Done!'
end end
end end
end
prompt.say "\n" prompt.say "\n"
prompt.ok 'All done! You can now power on the Mastodon server 🐘' prompt.ok 'All done! You can now power on the Mastodon server 🐘'