更新 Dockerfile
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user