mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 07:36:28 +08:00
fa2a5f6f56
Sometimes we would like to create a base image without any DB access, this assists in creating custom base images with custom plugins that already includes `public/assets` Following this change set you can run: ``` SPROCKETS_CONCURRENT=1 DONT_PRECOMPILE_CSS=1 SKIP_DB_AND_REDIS=1 RAILS_ENV=production bin/rake assets:precompile ``` Then it is straight forward to create a base image without needing a DB or Redis. |
||
---|---|---|
.. | ||
active_record_attribute_methods.rb | ||
active_record_base.rb | ||
ams_include_without_root.rb | ||
better_handlebars_errors.rb | ||
fast_pluck.rb | ||
inflector_backport.rb | ||
match.rb | ||
open_uri_redirections.rb | ||
performance_fixes.rb | ||
postgresql_adapter.rb | ||
rack_patches.rb | ||
rails4.rb | ||
rails6.rb | ||
raw_handlebars.rb | ||
reaper.rb | ||
redis.rb | ||
regexp.rb | ||
safe_buffer.rb | ||
safe_migrations.rb | ||
schema_migration_details.rb | ||
sprockets_patches.rb | ||
translate_accelerator.rb |