Commit 54928e6c authored by mingyard's avatar mingyard

feat:恢复最小镜像

parent 52fa55aa
......@@ -18,10 +18,12 @@ COPY . .
RUN yarn build
# 使用更小的 Node.js 镜像作为运行时镜像
FROM node:20-alpine as app-stage
FROM node:20-slim as app-stage
# 安装 IP、CURL
RUN apk add --no-cache iputils curl
# FROM node:20-alpine as app-stage
# # 安装 IP、CURL
# RUN apk add --no-cache iputils curl
# 设置环境变量
ENV NODE_ENV=development
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment