Commit 9a39fe8b by zhangxingmin

docker 配置

parent c241d187
......@@ -27,7 +27,7 @@ RUN sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list && \
WORKDIR /app
# 复制包管理文件
COPY package.json ./
COPY package.json package-lock.json ./
# 1. 显式安装 esbuild 二进制
RUN npm install @esbuild/linux-x64 --verbose --registry=https://registry.npmmirror.com
......
......@@ -8,6 +8,7 @@
"scripts": {
"dev": "vite",
"build:prod": "vite build",
"build:test": "vite build --mode testelopment",
"build:stage": "vite build --mode staging",
"preview": "vite preview"
},
......
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