-
Couldn't load subscription status.
- Fork 15
Open
Labels
Description
Topic
Right now, the docker setup is suboptimal - even in #635 - in that it doesn't perform migrations.
The correct thing to do is probably to make a startup command that
- runs migrations
- runs the tailwind commands
- builds and collects the staticfiles
- and then starts
gunicorn
This does perform a few steps every time that could be part of the build process. However:
- migrations can't be run at build time, as outlined in Fix docker setup #635
- the overhead should be low once these tasks have run once until containers are recreated
- it would simplify the setup, making the build environment-agnostic