Add Docker support with Dockerfile and docker-compose; implement entrypoint script for application startup

This commit is contained in:
Edgar P. Burkhart 2025-05-08 20:56:55 +02:00
parent 2c0e7b7699
commit b12f151b8d
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 30 additions and 3 deletions

5
entrypoint.sh Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env sh
cd nummi
uv run manage.py collectstatic --noinput
uv run manage.py migrate --noinput
uv run gunicorn --bind :8000 --workers 2 nummi.wsgi:application