Skip to content

Commit e070ea8

Browse files
Pin base image version in Dockerfile (#709)
1 parent ff3ecb3 commit e070ea8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-alpine3.20 AS base
1+
FROM node:20.16.0-alpine3.20 AS base
22
WORKDIR /base
33
COPY package*.json ./
44
RUN npm ci && npm cache clean --force
@@ -42,7 +42,7 @@ xargs > \
4242
chmod 644 /etc/ssl/certs/root.crt && \
4343
npm run build
4444

45-
FROM node:20-alpine3.20 AS production
45+
FROM node:20.16.0-alpine3.20 AS production
4646
ENV NODE_ENV=production
4747

4848
ARG user=nodeuser

0 commit comments

Comments
 (0)