Commit d8d73e35 authored by zhangying's avatar zhangying

copy

parent 3d56b521
......@@ -5,12 +5,12 @@ WORKDIR /app
# 复制 package.json 和 package-lock.json
COPY package*.json ./
# 复制源代码
COPY . .
# 安装依赖
RUN npm install
# 复制源代码
COPY . .
# 构建生产版本
RUN npm run build
......
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