mirror of
https://github.com/arc53/DocsGPT.git
synced 2026-02-15 10:40:49 +00:00
new dockerfile with gunicorn and wsgi support
This commit is contained in:
@@ -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