Spaces:
Sleeping
Sleeping
Dacho688
commited on
Commit
·
9ae24d1
1
Parent(s):
8a03cf9
HF Compatibility
Browse filesAdd README.md and change ports to 7860.
- Dockerfile +1 -1
- README.md +11 -0
- docker-compose.yaml +1 -1
Dockerfile
CHANGED
|
@@ -4,4 +4,4 @@ WORKDIR /app
|
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
COPY ./app .
|
| 7 |
-
CMD ["bokeh", "serve", "--port", "
|
|
|
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
COPY ./app .
|
| 7 |
+
CMD ["bokeh", "serve", "--port", "7860", "--allow-websocket-origin=*", "app.py"]
|
README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: RandomDataStreaming
|
| 3 |
+
emoji: 🏃
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: gray
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
pinned: false
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
docker-compose.yaml
CHANGED
|
@@ -4,4 +4,4 @@ services:
|
|
| 4 |
container_name: app
|
| 5 |
restart: unless-stopped
|
| 6 |
ports:
|
| 7 |
-
- "
|
|
|
|
| 4 |
container_name: app
|
| 5 |
restart: unless-stopped
|
| 6 |
ports:
|
| 7 |
+
- "7860:7860"
|