Static files are collected into a docker volume that is shared between the app and nginx containers. Nginx then serves these static files. NOTE: this means all static files must be placed in static folders recognized by django (configurable in settings.py) and all references to static files (eg. in templates) should use the /static/ url.
Closes #48.
Static files are collected into a docker volume that is shared between the
app
andnginx
containers. Nginx then serves these static files. NOTE: this means all static files must be placed in static folders recognized by django (configurable insettings.py
) and all references to static files (eg. in templates) should use the/static/
url.