sys: Sys files edit

This commit is contained in:
Black_Raven committed 2026-10-07 14:14:33 +03:00
1 parent 81623b1857
commit d719c949e2
3 files changed
+6 -1

No files matched your search

+4
View File
@@ -5,3 +5,7 @@
shell.nix shell.nix
README.md README.md
.metadata/ .metadata/
.results/
backend.db
__pycache__/
.ruff_cache/
+1
View File
@@ -233,3 +233,4 @@ dist-ssr
*.db *.db
.metadata/ .metadata/
.results/
+1 -1
View File
@@ -9,4 +9,4 @@ RUN pip install --no-cache-dir -r dependencies.txt
ENV FLASK_ENV=production ENV FLASK_ENV=production
ENV PYTHONUNBUFFERED=1 ENV PYTHONUNBUFFERED=1
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:80", "--workers", "1"] CMD ["sh", "-c", "python -m db.InitDB && gunicorn app:app -b 0.0.0.0:80 --workers 1"]