David Kimura PRO said about 3 years ago on Deploying to Amazon Linux 2 :
When you run the below, what returns?
RAILS_ENV=production bundle exec rake assets:precompile