更新 Dockerfile
This commit is contained in:
@ -12,7 +12,7 @@ RUN npm config set registry https://registry.npmmirror.com
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
RUN vite build
|
||||
# 拷贝前端、后端、静态资源
|
||||
|
||||
# 可选:前端构建(如果你有 vite、react、vue 项目)
|
||||
|
||||
Reference in New Issue
Block a user