Introduce thruster
This commit is contained in:
parent
8cd4a4856d
commit
1018b93b11
|
@ -58,5 +58,5 @@ USER rails:rails
|
|||
ENTRYPOINT ["/rails/bin/docker-entrypoint"]
|
||||
|
||||
# Start the server by default, this can be overwritten at runtime
|
||||
EXPOSE 3000
|
||||
CMD ["./bin/rails", "server", "--early-hints"]
|
||||
EXPOSE 80
|
||||
CMD ["./bin/thrust", "./bin/rails", "server", "--early-hints"]
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -88,3 +88,5 @@ group :test do
|
|||
gem "database_cleaner"
|
||||
gem "factory_bot_rails"
|
||||
end
|
||||
|
||||
gem "thruster", "~> 0.1.8"
|
||||
|
|
|
@ -491,6 +491,7 @@ GEM
|
|||
terminal-table (3.0.2)
|
||||
unicode-display_width (>= 1.1.1, < 3)
|
||||
thor (1.3.0)
|
||||
thruster (0.1.8)
|
||||
tilt (2.3.0)
|
||||
timeout (0.4.1)
|
||||
tzinfo (2.0.6)
|
||||
|
@ -568,6 +569,7 @@ DEPENDENCIES
|
|||
sprockets
|
||||
sqlite3
|
||||
standard
|
||||
thruster (~> 0.1.8)
|
||||
uglifier
|
||||
yaml_db
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env ruby
|
||||
require "rubygems"
|
||||
require "bundler/setup"
|
||||
|
||||
load Gem.bin_path("thruster", "thrust")
|
Loading…
Reference in New Issue