njain commited on
Commit
034e808
·
1 Parent(s): af78481

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -5,4 +5,6 @@ RUN /usr/local/bin/python -m pip install --upgrade pip
5
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
6
  RUN python generate_webpanel.py
7
  RUN cat webpanel_ntbk.py
8
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--access-logfile", "-", "--error-logfile", "-", "--timeout", "300", "webpanel_ntbk:app"]
 
 
 
5
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
6
  RUN python generate_webpanel.py
7
  RUN cat webpanel_ntbk.py
8
+ #CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--access-logfile", "-", "--error-logfile", "-", "--timeout", "120", "webpanel_ntbk:app"]
9
+ CMD ["panel", "serve", "webpanel_ntbk.py", "--port", "7860", "--address", "0.0.0.0", "--allow-websocket-origin", "*"]
10
+