Commit a9a2fc4f by zhangxingmin

push

parent bd171f2e
......@@ -18,7 +18,7 @@ RUN npm config set registry https://registry.npmmirror.com \
COPY . .
# 构建生产产物
RUN npm run build
RUN npm run build:h5
# 生产阶段
FROM docker.m.daocloud.io/library/nginx:alpine
......
......@@ -17,6 +17,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"build:h5": "vite build --mode h5",
"preview": "vite preview"
},
"dependencies": {
......
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