This commit is contained in:
parent
4d571832a8
commit
6970290e7c
|
|
@ -34,5 +34,9 @@ RUN npm install -g serve
|
||||||
# 暴露端口
|
# 暴露端口
|
||||||
EXPOSE 8091
|
EXPOSE 8091
|
||||||
|
|
||||||
|
# tell Nitro to listen on 0.0.0.0:8091
|
||||||
|
ENV HOST=0.0.0.0
|
||||||
|
ENV PORT=8091
|
||||||
|
|
||||||
# 启动 Nuxt SSR 服务
|
# 启动 Nuxt SSR 服务
|
||||||
CMD ["node", ".output/server/index.mjs", "--port", "8091"]
|
CMD ["node", ".output/server/index.mjs"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue