Spaces:
Sleeping
Sleeping
Upload Dockerfile
Browse files- 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", "
|
|
|
|
|
|
|
|
|
| 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 |
+
|