Skip to content

Commit

Permalink
chore(Docker): rollback cache (image size increased again)
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed Jan 9, 2024
1 parent 91819ff commit c95f821
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ COPY --from=installer /app/pnpm-workspace.yaml ./pnpm-workspace.yaml
COPY --from=installer /app/packages ./packages
COPY --from=installer /app/.npmrc ./.npmrc

RUN --mount=type=cache,id=pnpm,target=/root/.local/share/pnpm/store pnpm fetch --prod
RUN pnpm i --prod --prefer-offline
RUN pnpm i --prod


FROM base AS runner
Expand Down

0 comments on commit c95f821

Please sign in to comment.