From a0f13e3a0c8d819976daac99e872b124dd11ba9a Mon Sep 17 00:00:00 2001 From: xxqfamous Date: Thu, 25 May 2023 11:19:40 +0800 Subject: [PATCH] =?UTF-8?q?docker=E9=83=A8=E7=BD=B2=E6=95=B4=E7=90=86=20lo?= =?UTF-8?q?g=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4759db3a..7d478176 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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'