From 6970290e7c3990ef37ceef005507c472f811a663 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 28 Jul 2025 22:42:04 +0800 Subject: [PATCH] . --- php_pc/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/php_pc/Dockerfile b/php_pc/Dockerfile index 6a40bca..d2b4ce8 100644 --- a/php_pc/Dockerfile +++ b/php_pc/Dockerfile @@ -34,5 +34,9 @@ RUN npm install -g serve # 暴露端口 EXPOSE 8091 +# tell Nitro to listen on 0.0.0.0:8091 +ENV HOST=0.0.0.0 +ENV PORT=8091 + # 启动 Nuxt SSR 服务 -CMD ["node", ".output/server/index.mjs", "--port", "8091"] +CMD ["node", ".output/server/index.mjs"]