diff --git a/Dockerfile b/Dockerfile index a1f37a0c..4759db3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Gemfile b/Gemfile index c0df6c3b..240ca2c7 100644 --- a/Gemfile +++ b/Gemfile @@ -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'