I'm developing an app with Django and Vuejs and the time has come to test deployment related things. My app will be deployed several times (1 instance per future customer) so I'd like to use containers for faster deployments and removal of virtual machine maintenances.
The thing is :
I do not now how to build the vuejs part in production.
The Django backend is supposed to serve the bundle assets and, while I see on the AWS documentation that I can migrate, collect static files,... a Django application when the container starts, I do not know when/where I'm supposed to build the vuejs part in order to let Django collect the built things.
Can someone help me on this ?
When/where/how should I build the vuejs part ?
Note that Django and Vuejs are integrated this way : whatever the URL, Django serves the Vuejs SPA. And the Vuejs SPA consumes the Django API made with Django Rest Framework.
Thanks in advance for your help.
If more information is needed I will edit this post.