Skip to content

Commit

Permalink
fix: remove node_modules from cache
Browse files Browse the repository at this point in the history
  • Loading branch information
lonelyhentxi committed Jan 28, 2025
1 parent fc1a8b1 commit 10de2c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/outposts-web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
WORKDIR /usr/src/app
COPY . .
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store \
--mount=type=cache,id=node_modules,target=/usr/src/app/node_modules \
pnpm install --no-frozen-lockfile
RUN --mount=type=cache,id=pnpm-store,target=/pnpm/store pnpm install --no-frozen-lockfile
RUN --mount=type=cache,id=angular,target=/usr/src/app/.angular \
--mount=type=cache,id=nx-cache,target=/usr/src/app/.nx \
npm run build:outposts-web
Expand Down

0 comments on commit 10de2c3

Please sign in to comment.