This commit is contained in:
Shahrad Elahi 2023-11-09 01:08:45 +03:30
parent 58e2904a2c
commit fa085d0065

View File

@ -46,7 +46,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
RUN mkdir -p /temp/prod
COPY web/package.json web/pnpm-lock.yaml /temp/prod/
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile -C /temp/prod/
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile --prod -C /temp/prod/
FROM base AS build