Missing .md files in production

I have a rails app where my seeds file accesses a storage/ folder which has several .md files, to read the data and populate the DB.
I fly deployed the app, but the seeds failed due to missing files, and when I checked the console I found the following:

irb(main):001> Dir["storage/*"]
=> []

I assume this is intentional to avoid populating the servers with Readme files, but is there a setting I could change in order to allow the upload?

Is it possible that *.md files are ignored in your .dockerignore file?

1 Like

The simplest answer is the correct one!

# Ignore storage (uploaded files in development and any SQLite databases).

Thank you for your help :pray:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.