chore: 修复流水线问题

This commit is contained in:
cnb.aUOqoEV4wEA 2025-11-12 14:31:35 +08:00
parent d6ea547cba
commit 7de57395a8
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ main:
- name: use cache
image: $DOCKER_CACHE_IMAGE_NAME
commands:
- cp -r /.pnpm-store ./.pnpm-store
- cp -r /app/.pnpm-store ./.pnpm-store
- name: build with cache
script:
- mv ./apps/web-tdesign/.env.production ./apps/web-tdesign/.env.production.back

View File

@ -8,10 +8,10 @@ ENV TZ=Asia/Shanghai
RUN npm i -g corepack
WORKDIR /
WORKDIR /app
# copy package.json and pnpm-lock.yaml to workspace
COPY . .
COPY . /app
# 安装依赖
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile