Add Docker support with Dockerfile and docker-compose; implement entrypoint script for application startup
This commit is contained in:
parent
2c0e7b7699
commit
b12f151b8d
3 changed files with 30 additions and 3 deletions
5
entrypoint.sh
Normal file
5
entrypoint.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue