-
Hello everybody. I'm building a Docker image (Ruby Alpine 3.0.3) to my production environment and the assets are been generated nicely. But when I access the application I get only 404 error to the assets even with them in the directories. Is there any idea or tip about what's going on or something to be changed over here? PS: I deployed another app this week in Heroku and the things were perfectly. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi! Heroku sets an environment variable to serve static files in production, by default. You might want to check this setting is enabled, by setting it to true explicitly in |
Beta Was this translation helpful? Give feedback.
Hi!
Heroku sets an environment variable to serve static files in production, by default.
You might want to check this setting is enabled, by setting it to true explicitly in
config/environments/production.rb
, or by setting the environment variable in the Docker image.