Spaces:
Runtime error
Runtime error
Change default port to 8080 and update script
Browse files- Dockerfile +1 -6
- README.md +1 -0
Dockerfile
CHANGED
@@ -55,9 +55,4 @@ FROM heartexlabs/label-studio:hf-latest
|
|
55 |
#
|
56 |
################################################################################
|
57 |
|
58 |
-
|
59 |
-
RUN echo "export LABEL_STUDIO_HOST=\$SPACE_HOST; echo 'starting label studio'; label-studio \$@" > start.sh
|
60 |
-
RUN chmod +x /label-studio/start.sh
|
61 |
-
|
62 |
-
# Start Label Studio in the Hugging Face Space on port 7860
|
63 |
-
CMD ["/label-studio/start.sh", "-p", "7860"]
|
|
|
55 |
#
|
56 |
################################################################################
|
57 |
|
58 |
+
CMD exec label-studio --host=$SPACE_HOST
|
|
|
|
|
|
|
|
|
|
README.md
CHANGED
@@ -6,6 +6,7 @@ colorTo: yellow
|
|
6 |
sdk: docker
|
7 |
pinned: true
|
8 |
license: apache-2.0
|
|
|
9 |
---
|
10 |
<img src="https://user-images.githubusercontent.com/12534576/192582340-4c9e4401-1fe6-4dbb-95bb-fdbba5493f61.png"/>
|
11 |
|
|
|
6 |
sdk: docker
|
7 |
pinned: true
|
8 |
license: apache-2.0
|
9 |
+
app_port: 8080
|
10 |
---
|
11 |
<img src="https://user-images.githubusercontent.com/12534576/192582340-4c9e4401-1fe6-4dbb-95bb-fdbba5493f61.png"/>
|
12 |
|