Skip to content

Commit

Permalink
Merge pull request #154 from Sanketika-Obsrv/vuln-fixes
Browse files Browse the repository at this point in the history
#I431: Vulnerability  fixes
  • Loading branch information
manjudr authored Dec 16, 2024
2 parents 4e1fd22 + 00a0493 commit 74f2e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@

# Stage 1 - Build the React client v2
FROM --platform=linux/amd64 node:20.10-alpine AS clientv2-build
FROM --platform=linux/amd64 node:23.4-alpine AS clientv2-build
WORKDIR /opt/app/web-console-v2
COPY ./web-console-v2/package.json .
RUN npm install --legacy-peer-deps
COPY ./web-console-v2/ .
RUN npm run build

# Stage 2 - Run the Node.js server
FROM --platform=linux/amd64 node:20.10-alpine AS server-build
FROM --platform=linux/amd64 node:23.4-alpine AS server-build
WORKDIR /opt/app/server
COPY ./package.json .
RUN npm install
Expand Down

0 comments on commit 74f2e0a

Please sign in to comment.