Spaces:
Sleeping
Sleeping
sophiamyang
commited on
Commit
•
c6efdb6
1
Parent(s):
0de82c5
allow websocket
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ RUN python3 -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
-
CMD ["panel", "serve", "/code/app.ipynb", "--address", "0.0.0.0", "--port", "7860",
|
12 |
|
13 |
RUN mkdir /.cache
|
14 |
RUN chmod 777 /.cache
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
11 |
+
CMD ["panel", "serve", "/code/app.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "*"]
|
12 |
|
13 |
RUN mkdir /.cache
|
14 |
RUN chmod 777 /.cache
|