Home > database >  Shopify CLI 3.0 Ruby app not rendering UI in production
Shopify CLI 3.0 Ruby app not rendering UI in production

Time:02-05

I've been trying to deploy the blank screen with error message

For now, I've tried the following:

  1. Running the Dockerfile locally
  2. Run all commands from Dockerfile locally - bundle install, npm install, rake build:all and rails server -b 0.0.0.0 -e production
  3. Deploy the app to production on cloud66 (which runs the default Dockerfile)

All 3 have the same issue. Don't see any errors in Rails logs as well.

Can anyone help please?

CodePudding user response:

Turns out I missed RAILS_SERVE_STATIC_FILES flag as mentioned here. Not sure why it needs to be added explicitly, but it worked after I added it!

  • Related