编辑文件 cache.dockerfile

This commit is contained in:
cnb.aUOqoEV4wEA 2025-11-12 22:07:48 +08:00 committed by cnb
parent 87e4b8a99b
commit 1a0a1ab50f
No known key found for this signature in database
GPG Key ID: 074E9EA8B7D5A8A3

View File

@ -14,11 +14,9 @@ WORKDIR /app
# 将 by 中的文件列表 COPY 过来
COPY . .
RUN npm ci
RUN npm i -g corepack
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN pnpm install --frozen-lockfile
RUN echo "Builder Success 🎉"