编辑文件 cache.dockerfile
This commit is contained in:
parent
87e4b8a99b
commit
1a0a1ab50f
@ -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 🎉"
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user