sys: Sys files edit
This commit is contained in:
1 parent
81623b1857
commit
d719c949e2
3 files changed
+6
-1
No files matched your search
@@ -5,3 +5,7 @@
|
|||||||
shell.nix
|
shell.nix
|
||||||
README.md
|
README.md
|
||||||
.metadata/
|
.metadata/
|
||||||
|
.results/
|
||||||
|
backend.db
|
||||||
|
__pycache__/
|
||||||
|
.ruff_cache/
|
||||||
@@ -233,3 +233,4 @@ dist-ssr
|
|||||||
*.db
|
*.db
|
||||||
|
|
||||||
.metadata/
|
.metadata/
|
||||||
|
.results/
|
||||||
+1
-1
@@ -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"]
|
||||||
Reference in new issue
Block a user