From 0079ae41d79e5fd2853e2872edf40b54a7987f1d Mon Sep 17 00:00:00 2001 From: BlazingRockStorm Date: Mon, 20 Nov 2023 23:15:39 +0900 Subject: [PATCH] fix bug in production --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index a94a53c..2aca0d1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,7 +15,7 @@ if [ "$RAILS_ENV" = "production" ]; then # マイグレーション処理 bundle exec rails db:migrate # Solr index - bundle rake sunspot:reindex + bundle exec rake sunspot:reindex fi # Then exec the container's main process (what's set as CMD in the Dockerfile).