Update Dockerfile
Browse files- 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:
|
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
|
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"]
|