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