Commit 5aebf8df by zhangxingmin

push

parent f4d44a48
FROM node:16-alpine as build-stage
FROM node:16
WORKDIR /app
# 1. 复制依赖管理文件
COPY package.json ./
COPY package-lock.json ./
COPY package*.json ./
# 2. 安装所有依赖(包括开发依赖)
RUN npm install --production=false
RUN npm install --include=dev
# 3. 复制源代码
COPY . .
......
......@@ -15,13 +15,7 @@
"nanoid": "^4.0.0"
},
"devDependencies": {
"less": "^4.3.0",
"@dcloudio/vue-cli-plugin-uni": "^3.0.0-27920200625001"
},
"scripts": {
"dev": "uni -p",
"build:h5": "uni build --platform h5",
"build:weapp": "uni build --platform mp-weixin"
"less": "^4.3.0"
}
},
"node_modules/copy-anything": {
......
......@@ -26,8 +26,6 @@
"@dcloudio/vue-cli-plugin-uni": "^3.0.0-27920200625001"
},
"scripts": {
"dev": "uni -p",
"build:h5": "uni build --platform h5",
"build:weapp": "uni build --platform mp-weixin"
"build:h5": "./node_modules/.bin/uni build --platform 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