Skip to content

Commit 5b12216

Browse files
chore(deps): update node.js to v20 (#362)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 135aa0d commit 5b12216

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

frontend/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Grab the latest Node base image
2-
FROM node:18.2.0-alpine as builder
2+
FROM node:20.2.0-alpine as builder
33

44
# Set the current working directory inside the container
55
WORKDIR /app

frontend/Dockerfile.development

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pulling official base image
2-
FROM node:16.15.0-alpine
2+
FROM node:20.2.0-alpine
33

44
# Setting working directory
55
WORKDIR /app

next/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Install dependencies only when needed
2-
FROM node:18.2.0-alpine AS deps
2+
FROM node:20.2.0-alpine AS deps
33
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
44
RUN apk add --no-cache libc6-compat
55
WORKDIR /app
66
COPY package.json package-lock.json ./
77
RUN npm ci
88

99
# Rebuild the source code only when needed
10-
FROM node:18.2.0-alpine AS builder
10+
FROM node:20.2.0-alpine AS builder
1111
WORKDIR /app
1212
COPY --from=deps /app/node_modules ./node_modules
1313
COPY . .
1414

1515
RUN npm run build
1616

1717
# Production image, copy all the files and run next
18-
FROM node:18.2.0-alpine AS runner
18+
FROM node:20.2.0-alpine AS runner
1919
WORKDIR /app
2020

2121
ENV NODE_ENV production

next/Dockerfile.development

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pulling official base image
2-
FROM node:16.15.0-alpine
2+
FROM node:20.2.0-alpine
33

44
# Setting working directory
55
WORKDIR /next

0 commit comments

Comments
 (0)