编辑文件 cache.dockerfile
This commit is contained in:
parent
c068fc6eef
commit
d80f595e4b
@ -16,9 +16,6 @@ WORKDIR /app
|
||||
COPY . /app
|
||||
|
||||
# 安装依赖
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
|
||||
RUN pnpm run build
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
RUN echo "Builder Success 🎉"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user