File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ COPY . /rails/
2323ENV RAILS_ENV=production_postgresql
2424ENV PORT=8080
2525ENV REDIS_URL=redis://localhost:6379/0
26- CMD service redis-server start
27- CMD RACK_ENV=production bundle exec rackup -r agoo -s agoo -p 8080 -q -O workers=$(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
26+ CMD service redis-server start && \
27+ RACK_ENV=production bundle exec rackup -r agoo -s agoo -p 8080 -q -O workers=$(ruby config/auto_tune.rb | grep -Eo '[0-9]+' | head -n 1)
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ COPY . /rails/
2323ENV RAILS_ENV=production_postgresql
2424ENV PORT=8080
2525ENV REDIS_URL=redis://localhost:6379/0
26- CMD service redis-server start
27- CMD bundle exec falcon host
26+ CMD service redis-server start && \
27+ bundle exec falcon host
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ COPY . /rails/
2323ENV RAILS_ENV=production_mysql
2424ENV PORT=8080
2525ENV REDIS_URL=redis://localhost:6379/0
26- CMD service redis-server start
27- CMD rails server
26+ CMD service redis-server start && \
27+ rails server
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ COPY . /rails/
2323ENV RAILS_ENV=production_postgresql
2424ENV PORT=8080
2525ENV REDIS_URL=redis://localhost:6379/0
26- CMD service redis-server start
27- CMD rails server
26+ CMD service redis-server start && \
27+ rails server
You can’t perform that action at this time.
0 commit comments