bethanie05 commited on
Commit
6176fef
·
verified ·
1 Parent(s): f17b795

Change Dockerfile to use gunicorn

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -10,5 +10,5 @@ COPY --chown=user . /app
10
 
11
  USER user
12
 
13
- CMD ["python", "chat_application/main.py"]
14
 
 
10
 
11
  USER user
12
 
13
+ CMD ["gunicorn", "-k", "geventwebsocket.gunicorn.workers.GeventWebSocketWorker", "-w", "1", "--bind", "0.0.0.0:7860", "chat_application.main:app"]
14