updated docke file

This commit is contained in:
2025-05-18 23:24:17 +03:00
parent 303b2d609f
commit 7eb8f088f4
6 changed files with 73 additions and 56 deletions

View File

@@ -18,5 +18,5 @@ services:
- /home/pi/Desktop/digi-server/static:/app/static/uploads
# when setting allready exist and data are setted and is performed an update use second line of command
command: sh -c "python clear_db.py && python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"
#command: sh -c "python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"
#command: sh -c "python init_db.py && gunicorn -w 4 -b 0.0.0.0:5000 app:app"docker
#restart: unless-stopped