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
Bugfix (non-breaking change which fixes an issue)
Functional tests
n/a
Checklist
[X] Lint and unit tests pass locally with my changes
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