Asem123 commited on
Commit
d30bad7
·
verified ·
1 Parent(s): a8f896c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -7,15 +7,15 @@
7
  FROM idootop/migpt-next:latest
8
  WORKDIR /app
9
 
10
- # 你的私密配置镜像会读取 /app/config.js
11
  COPY config.js /app/config.js
12
 
13
  # 启动脚本:先起健康端口,再交回原始入口
14
  COPY start.sh /start.sh
15
  RUN chmod +x /start.sh
16
 
17
- # HF 缺省健康检查端口
18
  ENV PORT=7860
19
 
20
- # 用我们自己的脚本作为容器启动命令
21
  CMD ["/bin/sh", "/start.sh"]
 
7
  FROM idootop/migpt-next:latest
8
  WORKDIR /app
9
 
10
+ # 私密配置镜像会读取 /app/config.js
11
  COPY config.js /app/config.js
12
 
13
  # 启动脚本:先起健康端口,再交回原始入口
14
  COPY start.sh /start.sh
15
  RUN chmod +x /start.sh
16
 
17
+ # Hugging Face 默认健康检查端口
18
  ENV PORT=7860
19
 
20
+ # 用我们的脚本作为启动命令(不改镜像自身的 ENTRYPOINT)
21
  CMD ["/bin/sh", "/start.sh"]