XJFKKK commited on
Commit
e77c135
·
verified ·
1 Parent(s): 955ac65

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y \
14
  ENV NZ_SITE_TITLE="我的哪吒监控"
15
  # Hugging Face Spaces 默认使用 7860 端口
16
  ENV NZ_PORT=7860
17
- ENV NZ_HOSTPORT="xjfkkk-nezha.hf.space:5555"
18
  ENV NZ_TLS="true"
19
  ENV NZ_LANG="zh_CN"
20
 
@@ -27,7 +27,7 @@ RUN /nezha.sh
27
  RUN mkdir -p /data/nezha/dashboard/data && chmod -R 777 /data/nezha
28
 
29
  # 暴露端口
30
- EXPOSE 7860 5555
31
 
32
  # 设置启动命令,移除未定义的参数 -web
33
  CMD ["/data/nezha/dashboard/app", "-c", "/data/nezha/dashboard/data/config.yaml", "-db", "/data/nezha/dashboard/data/sqlite.db"]
 
14
  ENV NZ_SITE_TITLE="我的哪吒监控"
15
  # Hugging Face Spaces 默认使用 7860 端口
16
  ENV NZ_PORT=7860
17
+ ENV NZ_HOSTPORT="xjfkkk-nezha.hf.space:443"
18
  ENV NZ_TLS="true"
19
  ENV NZ_LANG="zh_CN"
20
 
 
27
  RUN mkdir -p /data/nezha/dashboard/data && chmod -R 777 /data/nezha
28
 
29
  # 暴露端口
30
+ EXPOSE 7860
31
 
32
  # 设置启动命令,移除未定义的参数 -web
33
  CMD ["/data/nezha/dashboard/app", "-c", "/data/nezha/dashboard/data/config.yaml", "-db", "/data/nezha/dashboard/data/sqlite.db"]