Skip to content

Commit

Permalink
chore(deps): update dependency node to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Sep 28, 2024
1 parent df178fa commit 3d3cf3e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion templates/koa-ts/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.*
20.*
4 changes: 2 additions & 2 deletions templates/koa-ts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim as BUILDER
FROM node:20-slim as BUILDER

WORKDIR /home/app

Expand All @@ -14,7 +14,7 @@ ENV NODE_ENV production
RUN npm prune --production

# A slimmed down runner image with only the bare necessities
FROM node:18-slim AS runner
FROM node:20-slim AS runner
WORKDIR /home/app
COPY --from=BUILDER /home/app/node_modules ./node_modules
COPY --from=BUILDER /home/app/package* ./
Expand Down
2 changes: 1 addition & 1 deletion templates/koa-ts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion templates/koa-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "./src/index.ts",
"private": "true",
"engines": {
"node": "18.*"
"node": "20.*"
},
"scripts": {
"test": "jest",
Expand Down
2 changes: 1 addition & 1 deletion templates/react-ts/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20
20.17
2 changes: 1 addition & 1 deletion templates/react-ts/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim AS builder
FROM node:20-slim AS builder

WORKDIR /app
ADD package*.json .
Expand Down
2 changes: 1 addition & 1 deletion templates/react/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20
20.17
2 changes: 1 addition & 1 deletion templates/react/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-slim AS builder
FROM node:20-slim AS builder

WORKDIR /app
ADD package*.json .
Expand Down

0 comments on commit 3d3cf3e

Please sign in to comment.