Spaces:
Sleeping
Sleeping
Fix Hugging Face Spaces port requirement and set SSH remote
Browse files- Dockerfile +1 -1
- README.md +1 -1
- nginx.conf +1 -1
Dockerfile
CHANGED
|
@@ -15,6 +15,6 @@ FROM nginx:alpine
|
|
| 15 |
COPY --from=builder /app/dist /usr/share/nginx/html
|
| 16 |
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
| 17 |
|
| 18 |
-
EXPOSE
|
| 19 |
|
| 20 |
CMD ["nginx", "-g", "daemon off;"]
|
|
|
|
| 15 |
COPY --from=builder /app/dist /usr/share/nginx/html
|
| 16 |
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
| 17 |
|
| 18 |
+
EXPOSE 7860
|
| 19 |
|
| 20 |
CMD ["nginx", "-g", "daemon off;"]
|
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🤖
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: docker
|
| 7 |
-
app_port:
|
| 8 |
short_description: 对话式节点工作流编辑器 - 通过 AI 对话轻松生成和修改流程图
|
| 9 |
---
|
| 10 |
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
short_description: 对话式节点工作流编辑器 - 通过 AI 对话轻松生成和修改流程图
|
| 9 |
---
|
| 10 |
|
nginx.conf
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
server {
|
| 2 |
-
listen
|
| 3 |
server_name localhost;
|
| 4 |
|
| 5 |
root /usr/share/nginx/html;
|
|
|
|
| 1 |
server {
|
| 2 |
+
listen 7860;
|
| 3 |
server_name localhost;
|
| 4 |
|
| 5 |
root /usr/share/nginx/html;
|