fix: serve collected static files with whitenoise
All checks were successful
CI/CD Pipeline / Code Quality Checks (push) Successful in 4m32s
CI/CD Pipeline / Run Tests (push) Successful in 6m30s
CI/CD Pipeline / Build and Push Dev Images (push) Successful in 33s
CI/CD Pipeline / Deploy Dev via Compose (push) Successful in 31s

This commit is contained in:
2026-07-16 15:42:35 +02:00
parent 47055ab6a5
commit b025f12856
3 changed files with 34 additions and 0 deletions

View File

@@ -227,6 +227,7 @@ USE_TZ = True
STATIC_URL = "/static/"
STATIC_ROOT = PROJECT_ROOT / "staticfiles"
STATICFILES_DIRS = [BASE_DIR / "static"]
STATICFILES_STORAGE = "whitenoise.storage.CompressedManifestStaticFilesStorage"
MEDIA_URL = "/media/"
MEDIA_ROOT = PROJECT_ROOT / "media"