This commit is contained in:
aaron 2025-03-06 23:30:14 +08:00
parent df2ae33d60
commit cee32d4d37
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ RUN npm install && npm install @vue/cli-service --save-dev
COPY . .
# 构建应用
RUN node_modules/.bin/vue-cli-service build || npm run build
RUN npm run build
# 生产阶段
FROM nginx:stable-alpine

View File

@ -9,7 +9,8 @@
"vue": "^3.3.4",
"vue-router": "^4.5.0",
"vuedraggable": "^4.1.0",
"vuex": "^4.0.2"
"vuex": "^4.0.2",
"@vue/cli-service": "^5.0.8"
},
"devDependencies": {
"@vue/cli-service": "^5.0.8",