prerobeny container webu na zdielany volume.. mozne menit kod a po restarte kontainera sa prejavia zmeny

This commit is contained in:
2025-03-23 19:33:16 +01:00
parent 3e8031da1d
commit 9fb64d0259
3 changed files with 9 additions and 4 deletions

3
run.sh Normal file → Executable file
View File

@@ -1,5 +1,6 @@
#!/bin/bash
cd src &&
python manage.py migrate &&
python manage.py fill_empty_db &&
gunicorn --config gunicorn-cfg.py kalskeborec.wsgi
gunicorn --config ../gunicorn-cfg.py kalskeborec.wsgi