Skip to content

Commit aaa9bdd

Browse files
committed
DBC22-1147: locked node img version, copy package-lock in dockerfiles
1 parent f7b2462 commit aaa9bdd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

compose/frontend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Use an official node runtime as a parent image
2-
FROM node:latest
2+
FROM node:20.8.1
33

44
WORKDIR /app/
55
RUN chown node:root /app
66

77
# Install dependencies
88
COPY ./src/frontend/package.json /app/
9-
9+
COPY ./src/frontend/package-lock.json /app/
1010
RUN npm install
1111

1212
# Add rest of the client code

compose/frontend/StaticBuild

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Use an official node runtime as a parent image
2-
FROM node:latest AS buildnode
2+
FROM node:20.8.1 AS buildnode
33

44
WORKDIR /app/
55
RUN chown node:root /app
66

77
# Install dependencies
88
COPY ./src/frontend/package.json /app/
9-
9+
COPY ./src/frontend/package-lock.json /app/
1010
RUN npm install
1111

1212
# Add rest of the client code

0 commit comments

Comments
 (0)