mirror of
https://github.com/ajurna/cbwebreader.git
synced 2026-11-02 10:36:55 +00:00
- Restructured `Dockerfile` to include a dedicated frontend build stage and improved runtime configurations. - Added new health checks and adjusted environment variables for better container management. - Updated cron job configurations to leverage `/opt/venv` and align with new paths. - Refined `docker-compose` files for multi-service setups, including better volume and environment variable handling. - Migrated `cbwebreader-cron` service setup and improved restart policies across the board. - Enhanced `.gitea` CI workflow to use updated tools (`uv`), streamline buildx processes, and ensure proper version extraction from metadata.
9 lines
242 B
Bash
9 lines
242 B
Bash
#!/usr/bin/env sh
|
|
set -e
|
|
|
|
python manage.py migrate --settings=cbreader.settings.base
|
|
|
|
python manage.py collectstatic --settings=cbreader.settings.base --noinput --clear
|
|
|
|
exec gunicorn --workers 3 --bind 0.0.0.0:8000 cbreader.wsgi:application
|