Commit 222bc1c6 by zhangxingmin

push

parent 0a633f76
......@@ -2,12 +2,14 @@ FROM node:16
WORKDIR /app
# 安装项目依赖(包含开发依赖)
COPY package*.json ./
RUN npm install --include=dev --legacy-peer-deps
COPY package.json package-lock.json ./
# 先安装依赖,然后更新 Uni-app 相关包
RUN npm install && \
npm update @dcloudio/uni-cli-shared @dcloudio/vue-cli-plugin-uni
# 复制源码并构建
COPY . .
RUN npm run build:h5
# 生产阶段
......
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