mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-15 00:16:46 +00:00
new dockerfile with gunicorn and wsgi support
This commit is contained in:
1 parent
ed79ad6b8c
commit
38e2459c7f
4 files changed
+9
-3
No files matched your search
@@ -15,6 +15,6 @@ ENV FLASK_APP=app.py
|
||||
ENV FLASK_DEBUG=true
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
EXPOSE 5001
|
||||
|
||||
CMD ["flask", "run", "--host=0.0.0.0"]
|
||||
CMD ["gunicorn", "-w", "6", "--bind", "0.0.0.0:5001", "wsgi:app"]
|
||||
Reference in new issue
Block a user