Migration folder in production docker image
NCBI's devops setup does not allow the creation of any folder in the container, unless it is in the /tmp
directory.
Pubsweet creates a temp folder in the root of the repo to collect all migration files, when running the migrations. This is not compatible the devops setup.
One idea is to cd
into the /tmp
folder to run the migrations and cd
back into the project folder to continue running the app. If that doesn't work, we might need to make the migration folder path configurable in pubsweet.