Skip to content

Commit

Permalink
feat: Upgraded npm and pnpm versions (#572)
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik authored May 29, 2024
2 parents 78d2b95 + 3580f31 commit 944aeab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

RUN npm i -g \
npm@9.3.1 \
pnpm@7.28.0
npm@10.5.2 \
pnpm@8.9.0

WORKDIR /usr/src/app

Expand Down
7 changes: 5 additions & 2 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM node:20.13.1-slim

WORKDIR /usr/src/app

RUN npm install -g [email protected]
RUN npm i -g \
[email protected] \
[email protected]

COPY .npmrc .
COPY package.json .
Expand All @@ -24,6 +26,7 @@ COPY pnpm-lock.yaml .

ENV NEXT_TELEMETRY_DISABLED 1

RUN pnpm install
RUN pnpm i
RUN pnpm build

CMD [ "pnpm", "start:static:web" ]

0 comments on commit 944aeab

Please sign in to comment.