fix: 更新 Dockerfile 使用的 Node 版本为 24-alpine,并在 docker-compose.yml 中添加输出目录挂载

This commit is contained in:
2026-01-02 18:24:49 +07:00
parent c405aefc51
commit cedb6cc1a5
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
# 使用预构建产物运行 - 轻量级镜像
FROM node:20-alpine
FROM node:24-alpine
# 设置工作目录
WORKDIR /app

View File

@@ -13,6 +13,8 @@ services:
- HOST=0.0.0.0
- PORT=3000
restart: unless-stopped
volumes:
- ./.output/:/app/.output/
networks:
- riwa-network
healthcheck: