更新 Dockerfile

This commit is contained in:
ywp
2025-10-22 15:22:37 +08:00
parent 34d76a0a50
commit 31d01fe1e4

View File

@ -31,7 +31,7 @@ RUN if [ -f package.json ]; then npm ci --omit=dev; fi
# ===============================
# ③ 运行阶段Nginx + Node 同容器)
# ===============================
FROM nginx:1.27-alpine
FROM docker.1ms.run/nginx:1.27-alpine
# 安装 Node.js给后端运行
RUN apk add --no-cache nodejs npm bash