django - Docker, web app static files. Best practices? -


how people tend handle static assets in web deployment on docker?

for example, in django app deployed in container, have app server serve static files container, or sync them server webserver serve, or use cdn?

if not serving app container, when push files cdn or webserver: part of container build, or second process in build, , how ensure both steps stay in sync?

you have use form of cloud storage achieve that. s3 example. can host static files cdn. since you're using django, consider reading article. explains how host static files within django app.

as laravel user use laravels built in flysystem support.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -