docker部署整理 gem
This commit is contained in:
parent
7578fb9e0a
commit
600235effa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue