mirror of
https://github.com/kennethreitz/photos.kennethreitz.org.git
synced 2026-06-05 06:46:13 +00:00
Run collectstatic at container startup
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user