Commit 3d56b521 authored by zhangying's avatar zhangying

copy

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