docker部署整理 log目录
This commit is contained in:
parent
600235effa
commit
a0f13e3a0c
|
@ -18,6 +18,7 @@ RUN cp config/environments/production.rb.example config/environments/production.
|
||||||
RUN cp config/secrets.yml.example config/secrets.yml
|
RUN cp config/secrets.yml.example config/secrets.yml
|
||||||
RUN touch config/redis.yml
|
RUN touch config/redis.yml
|
||||||
RUN touch config/elasticsearch.yml
|
RUN touch config/elasticsearch.yml
|
||||||
|
RUN mkdir log
|
||||||
|
|
||||||
RUN /bin/bash -l -c 'bundle install'
|
RUN /bin/bash -l -c 'bundle install'
|
||||||
RUN /bin/bash -l -c 'RAILS_ENV=production rails db:create'
|
RUN /bin/bash -l -c 'RAILS_ENV=production rails db:create'
|
||||||
|
|
Loading…
Reference in New Issue