Skip to content

Commit

Permalink
fix bug in production
Browse files Browse the repository at this point in the history
  • Loading branch information
BlazingRockStorm committed Nov 20, 2023
1 parent fa4b96f commit 0079ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 0079ae4

Please sign in to comment.