Skip to content

Commit

Permalink
build: 🐛 don't use explicit latest npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesOberreiter committed Dec 18, 2024
1 parent ca3b0a7 commit a925957
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app

COPY server/package.json server/package-lock.json ./

RUN npm install npm@latest --global \
RUN npm install npm --global \
&& npm install pnpm --global \
&& pnpm import \
&& pnpm install --prod
Expand All @@ -19,7 +19,7 @@ WORKDIR /app

COPY client/package.json client/package-lock.json ./

RUN npm install npm@latest --global \
RUN npm install npm --global \
&& npm install pnpm --global \
&& pnpm import \
&& pnpm install --prod
Expand Down
2 changes: 1 addition & 1 deletion config/development/Dockerfile.client
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk -U upgrade \

WORKDIR /app/client
COPY package.json package-lock.json /app/client/
RUN npm install npm@latest --global \
RUN npm install npm --global \
&& npm install pnpm --global \
&& pnpm import \
&& pnpm install
Expand Down
2 changes: 1 addition & 1 deletion config/development/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /app

COPY package.json package-lock.json ./

RUN npm install npm@latest --global \
RUN npm install npm --global \
&& npm install pnpm --global \
&& pnpm import \
&& pnpm install

0 comments on commit a925957

Please sign in to comment.