File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ ENV LD_PRELOAD=libjemalloc.so.2
1515COPY ./Gemfile* /rails/
1616
1717ENV BUNDLE_FORCE_RUBY_PLATFORM=true
18- ENV BUNDLE_WITHOUT=trilogy
18+ ENV BUNDLE_WITHOUT=mysql puma falcon unicorn
19+
1920RUN bundle install --jobs=8
2021
2122COPY . /rails/
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ ENV LD_PRELOAD=libjemalloc.so.2
1515COPY ./Gemfile* /rails/
1616
1717ENV BUNDLE_FORCE_RUBY_PLATFORM=true
18- ENV BUNDLE_WITHOUT=mysql
18+ ENV BUNDLE_WITHOUT=mysql agoo puma unicorn
19+
1920RUN bundle install --jobs=8
2021
2122COPY . /rails/
2223
2324ENV RAILS_ENV=production_postgresql
2425ENV PORT=8080
2526ENV REDIS_URL=redis://localhost:6379/0
27+ CMD service redis-server start
2628CMD bundle exec falcon host
Original file line number Diff line number Diff line change @@ -15,12 +15,13 @@ ENV LD_PRELOAD=libjemalloc.so.2
1515COPY ./Gemfile* /rails/
1616
1717ENV BUNDLE_FORCE_RUBY_PLATFORM=true
18- ENV BUNDLE_WITHOUT=postgresql
18+ ENV BUNDLE_WITHOUT=postgresql agoo falcon unicorn
1919RUN bundle install --jobs=8
2020
2121COPY . /rails/
2222
2323ENV RAILS_ENV=production_mysql
2424ENV PORT=8080
2525ENV REDIS_URL=redis://localhost:6379/0
26- CMD ./run-with-redis.sh
26+ CMD service redis-server start
27+ CMD rails server
Original file line number Diff line number Diff line change @@ -15,12 +15,13 @@ ENV LD_PRELOAD=libjemalloc.so.2
1515COPY ./Gemfile* /rails/
1616
1717ENV BUNDLE_FORCE_RUBY_PLATFORM=true
18- ENV BUNDLE_WITHOUT=mysql
18+ ENV BUNDLE_WITHOUT=mysql agoo falcon unicorn
1919RUN bundle install --jobs=8
2020
2121COPY . /rails/
2222
2323ENV RAILS_ENV=production_postgresql
2424ENV PORT=8080
2525ENV REDIS_URL=redis://localhost:6379/0
26- CMD ./run-with-redis.sh
26+ CMD service redis-server start
27+ CMD rails server
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments