diff --git a/castellum_core/.gitignore b/castellum_core/.gitignore index 874dcc6b3497f77ba7f6796f2761495d0e0c783c..2525964517fa16b34b56383a0f4f6b20bb1e01d2 100644 --- a/castellum_core/.gitignore +++ b/castellum_core/.gitignore @@ -5,7 +5,7 @@ castellum_core.egg-info/ dist/ htmlcov/ node_modules/ -collectstatic/ +collected_static/ *.pyc *.sqlite3 diff --git a/castellum_core/castellum_core/castellum_core/settings/default.py b/castellum_core/castellum_core/castellum_core/settings/default.py index 78c6e8a175996d2a786a07c2188469670498e91f..efee351484f0075bb5ae61c76749e8644ffca7ac 100644 --- a/castellum_core/castellum_core/castellum_core/settings/default.py +++ b/castellum_core/castellum_core/castellum_core/settings/default.py @@ -108,7 +108,7 @@ STATICFILES_FINDERS = [ STATIC_URL = '/static/' -STATIC_ROOT = os.path.join(BASE_DIR, 'collectstatic') +STATIC_ROOT = os.path.join(BASE_DIR, 'collected_static') NPM_ROOT_PATH = os.path.dirname(BASE_DIR) diff --git a/docker-compose.yml b/docker-compose.yml index 5acb24b00fed2e96a1f368fa547e72e684fa6896..6e9fc86dd00cd8672eb30ed393dea3ddb5d454af 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,7 @@ services: python3 castellum_core/manage.py collectstatic --no-input && uwsgi uwsgi.ini" volumes: - - static-content:/code/castellum_core/collectstatic + - static-content:/code/castellum_core/collected_static - ./stage/settings.py:/code/castellum_core/castellum_core/settings/stage.py depends_on: - db