AlexsLemonade / refinebio

Refine.bio harmonizes petabytes of publicly available biological data into ready-to-use datasets for cancer researchers and AI/ML scientists.
https://www.refine.bio/
Other
125 stars 18 forks source link

3452 Ensure /var/www/volumes_static exists on container restart #3455

Closed davidsmejia closed 7 months ago

davidsmejia commented 7 months ago

Issue Number

3452

Purpose/Implementation Notes

This PR adds the same creation and permission settings to the static dir when the API container is restart. We have already moved the static dir out of tmp. This change could safely be removed in the future.

Thoughts for the future: We probably should consider pulling out the starting of the container to it's own script so that we can just call that remotely on the API instead of duplicating the setup in user data and deploy scripts. That change is more involved than what we need at this moment. If we encounter issues with the API standing up or docs not being available again I strongly recommend addressing that then.

Methods

n/a

Types of changes

Functional tests

n/a

Checklist

Screenshots

n/a