From e6202a8315bd050439d4ad37fab3aa9aa0a208d5 Mon Sep 17 00:00:00 2001 From: louis <869322496@qq.com> Date: Mon, 4 Mar 2024 10:08:11 +0800 Subject: [PATCH] test: test build --- Dockerfile | 2 +- src/views/meterials-inventory/index.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0c670f9..baaed0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-l # 基于prod-deps生成的依赖执行构建 FROM base AS builder -RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile +# RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile RUN pnpm run build # 将prod-deps生成的依赖拷贝到base/$PROJECT_DIR中,开始在builder构建阶段build,最后拷贝build生成的dist到base/$PROJECT_DIR中 diff --git a/src/views/meterials-inventory/index.vue b/src/views/meterials-inventory/index.vue index cdbdae7..8088863 100644 --- a/src/views/meterials-inventory/index.vue +++ b/src/views/meterials-inventory/index.vue @@ -1,4 +1,5 @@