tao-shen commited on
Commit
7e0fa81
·
1 Parent(s): 1ec4113

feat: adapt for HuggingFace Spaces deployment (port 7860, metadata)

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. README.md +10 -0
Dockerfile CHANGED
@@ -42,8 +42,8 @@ RUN echo 'const http=require("http");const r=http.get("http://localhost:"+(proce
42
  COPY docker-entrypoint.sh /app/docker-entrypoint.sh
43
  RUN chmod +x /app/docker-entrypoint.sh
44
  USER nextjs
45
- ENV PORT=3000
46
- EXPOSE 3000
47
  ENV HOSTNAME=0.0.0.0
48
  HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
49
  CMD ["node", "/app/healthcheck.js"]
 
42
  COPY docker-entrypoint.sh /app/docker-entrypoint.sh
43
  RUN chmod +x /app/docker-entrypoint.sh
44
  USER nextjs
45
+ ENV PORT=7860
46
+ EXPOSE 7860
47
  ENV HOSTNAME=0.0.0.0
48
  HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
49
  CMD ["node", "/app/healthcheck.js"]
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  <div align="center">
2
 
3
  # Mission Control
 
1
+ ---
2
+ title: HuggingClaw Mission Control
3
+ emoji: 🎛️
4
+ colorFrom: indigo
5
+ colorTo: purple
6
+ sdk: docker
7
+ app_port: 7860
8
+ pinned: false
9
+ ---
10
+
11
  <div align="center">
12
 
13
  # Mission Control