Skip to content

Commit 3fa9e5e

Browse files
committed
chore(deps): update NodeJS to v18 (new LTS)
1 parent 141d29f commit 3fa9e5e

File tree

3 files changed

+121
-121
lines changed

3 files changed

+121
-121
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Install dependencies only when needed
2-
FROM node:16.18.0-alpine3.15 AS deps
2+
FROM node:18.12.1-alpine3.15 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
@@ -21,7 +21,7 @@ RUN if $SKIP_CHECKS; \
2121
# RUN npm ci
2222

2323
# Rebuild the source code only when needed
24-
FROM node:16.18.0-alpine3.15 AS builder
24+
FROM node:18.12.1-alpine3.15 AS builder
2525
WORKDIR /app
2626
COPY --from=deps /app/node_modules ./node_modules
2727
COPY . .
@@ -45,7 +45,7 @@ RUN echo "GIT_SHA=${GIT_SHA}" && npm run build
4545
# RUN npm run build
4646

4747
# Production image, copy all the files and run next
48-
FROM node:16.18.0-alpine3.15 AS runner
48+
FROM node:18.12.1-alpine3.15 AS runner
4949
WORKDIR /app
5050

5151
ENV NODE_ENV production

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"@tanstack/react-query": "4.15.1",
5050
"@tanstack/react-query-devtools": "4.16.0",
5151
"@types/lodash-es": "4.17.6",
52-
"@types/node": "16.18.3",
52+
"@types/node": "18.11.9",
5353
"@types/plotly.js-basic-dist": "1.54.1",
5454
"@types/prismjs": "1.26.0",
5555
"@types/react": "17.0.52",

0 commit comments

Comments
 (0)