docker部署整理 gem

This commit is contained in:
xxqfamous 2023-05-25 11:06:03 +08:00
parent 7578fb9e0a
commit 600235effa
2 changed files with 4 additions and 3 deletions

View File

@ -10,13 +10,12 @@ RUN /bin/bash -l -c 'gem sources --add https://gems.ruby-china.com/ --remove htt
RUN /bin/bash -l -c 'gem update --system'
RUN /bin/bash -l -c 'gem install bundler -v 2.3.26'
RUN /bin/bash -l -c 'gem install rake'
RUN rm -rf Gemfile.lock
RUN cp config/configuration.yml.example config/configuration.yml
RUN cp config/database.yml.example config/database.yml
RUN cp config/environments/production.rb.example config/environments/production.rb
RUN cp config/secrets.yml.example config/secrets.yml
RUN touch config/redis.yml
RUN touch config/elasticsearch.yml

View File

@ -20,6 +20,8 @@ gem 'bootsnap', '>= 1.1.0', require: false
gem 'chinese_pinyin'
gem 'loofah','~> 2.20.0'
gem 'rack-cors'
gem 'redis-rails'
gem 'roo-xls'