Run collectstatic at container startup

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-07 21:27:13 -04:00
parent a661471fbd
commit ce939dc497
+1 -1
View File
@@ -1,7 +1,7 @@
services:
web:
build: .
command: sh -c "uv sync --frozen && uv run python manage.py runbolt --dev --host 0.0.0.0 --port 8000"
command: sh -c "uv sync --frozen && uv run python manage.py collectstatic --noinput && uv run python manage.py runbolt --dev --host 0.0.0.0 --port 8000"
ports:
- "8000:8000"
volumes: