Skip to content

Commit a8f2f7e

Browse files
committed
⬆️ Update the version of npm
We install one slim package in here, so it is not pinned and we typically don't need to upgrade. However the npm binary has its own dependencies, some of which need to be upgraded. If this doesn't work, we can also delete the npm binary after installing our single package.
1 parent ec7f11d commit a8f2f7e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

frontend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:25.6.0-alpine3.23
33
RUN mkdir -p /public
44
WORKDIR /public
55

6+
RUN npm install -g npm@latest
67
RUN npm i -g http-server
78

89
COPY client /public/client

frontend/Dockerfile.dev

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM node:25.6.0-alpine3.23
33
RUN mkdir -p /public
44
WORKDIR /public
55

6+
RUN npm install -g npm@latest
67
RUN npm i -g http-server
78

89
EXPOSE 5050

0 commit comments

Comments
 (0)