Add gunicorn to get rid of warnings

This commit is contained in:
2026-07-29 19:32:59 +03:00
parent 897af73757
commit 9b717e0f09
3 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -9,7 +9,6 @@ COPY . .
RUN mkdir -p /data RUN mkdir -p /data
ENV DATABASE_PATH=/data/inventory.db ENV DATABASE_PATH=/data/inventory.db
ENV FLASK_APP=app.py
EXPOSE 5000 EXPOSE 5000
CMD ["python", "app.py"] CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--access-logfile", "-", "app:app"]
Binary file not shown.
+1
View File
@@ -1 +1,2 @@
Flask==3.1.1 Flask==3.1.1
gunicorn==23.0.0