jianwei233 commited on
Commit
e2fbc38
·
verified ·
1 Parent(s): 8a85208

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -19,6 +19,9 @@ FROM nginx:alpine
19
  # 安装 Node.js 和 npm
20
  RUN apk add --no-cache nodejs npm
21
 
 
 
 
22
  # 复制 Node.js 应用中的必要文件
23
  COPY --from=node-builder /app /app
24
 
 
19
  # 安装 Node.js 和 npm
20
  RUN apk add --no-cache nodejs npm
21
 
22
+ RUN npm install -g pm2
23
+
24
+
25
  # 复制 Node.js 应用中的必要文件
26
  COPY --from=node-builder /app /app
27