Spaces:
Sleeping
Sleeping
Changed exposed port to 7860
Browse files- Dockerfile +2 -2
- README.md +0 -1
Dockerfile
CHANGED
@@ -11,7 +11,7 @@ RUN mkdir -p $HOME/.cache/huggingface/hub
|
|
11 |
|
12 |
# Environment variables
|
13 |
ENV UVICORN_HOST=0.0.0.0
|
14 |
-
ENV UVICORN_PORT=
|
15 |
ENV HF_HUB_ENABLE_HF_TRANSFER=0
|
16 |
ENV DO_NOT_TRACK=1
|
17 |
|
@@ -19,7 +19,7 @@ ENV DO_NOT_TRACK=1
|
|
19 |
VOLUME ["$HOME/.cache/huggingface/hub"]
|
20 |
|
21 |
# Expose the port that the server listens on
|
22 |
-
EXPOSE
|
23 |
|
24 |
# Command to run the server
|
25 |
CMD ["uvicorn", "--factory", "speaches.main:create_app"]
|
|
|
11 |
|
12 |
# Environment variables
|
13 |
ENV UVICORN_HOST=0.0.0.0
|
14 |
+
ENV UVICORN_PORT=7860
|
15 |
ENV HF_HUB_ENABLE_HF_TRANSFER=0
|
16 |
ENV DO_NOT_TRACK=1
|
17 |
|
|
|
19 |
VOLUME ["$HOME/.cache/huggingface/hub"]
|
20 |
|
21 |
# Expose the port that the server listens on
|
22 |
+
EXPOSE 7860
|
23 |
|
24 |
# Command to run the server
|
25 |
CMD ["uvicorn", "--factory", "speaches.main:create_app"]
|
README.md
CHANGED
@@ -7,7 +7,6 @@ sdk: docker
|
|
7 |
pinned: false
|
8 |
license: mit
|
9 |
short_description: Speaches demo
|
10 |
-
app_port: 8000
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
7 |
pinned: false
|
8 |
license: mit
|
9 |
short_description: Speaches demo
|
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|