docker部署整理 log目录

This commit is contained in:
xxqfamous 2023-05-25 11:19:40 +08:00
parent 600235effa
commit a0f13e3a0c
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ RUN cp config/environments/production.rb.example config/environments/production.
RUN cp config/secrets.yml.example config/secrets.yml
RUN touch config/redis.yml
RUN touch config/elasticsearch.yml
RUN mkdir log
RUN /bin/bash -l -c 'bundle install'
RUN /bin/bash -l -c 'RAILS_ENV=production rails db:create'