Add gunicorn to get rid of warnings
This commit is contained in:
+1
-2
@@ -9,7 +9,6 @@ COPY . .
|
||||
RUN mkdir -p /data
|
||||
|
||||
ENV DATABASE_PATH=/data/inventory.db
|
||||
ENV FLASK_APP=app.py
|
||||
|
||||
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 +1,2 @@
|
||||
Flask==3.1.1
|
||||
gunicorn==23.0.0
|
||||
|
||||
Reference in New Issue
Block a user