Skip to content

Commit

Permalink
chore: update to node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
kelsos committed Feb 5, 2024
1 parent 6ea7f3f commit 65af8b8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
packageRules: [
{
allowedVersions: '/^(18)\\./',
allowedVersions: '/^(20)\\./',
groupName: 'Node.js',
matchPackageNames: ['@types/node', 'node'],
},
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 as builder
FROM node:20 as builder

COPY ./ /build/

Expand All @@ -10,7 +10,7 @@ RUN --mount=type=cache,target=/root/.npm/_cacache/ \
pnpm install --frozen-lockfile && \
pnpm run build

FROM node:18-alpine as production
FROM node:20-alpine as production

WORKDIR /app
ARG GIT_SHA
Expand All @@ -19,7 +19,7 @@ ENV NITRO_HOST=0.0.0.0
ENV NITRO_PORT=4000

RUN --mount=type=cache,target=/root/.npm/_cacache/ \
npm install -g [email protected].0
npm install -g [email protected].1

COPY --from=builder /build/.output ./.output/
COPY --from=builder /build/ecosystem.config.cjs ./
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"webpack": "5.90.1"
},
"engines": {
"node": ">=18 <19",
"node": ">=20 <21",
"pnpm": ">=8 <9"
},
"husky": {
Expand Down

0 comments on commit 65af8b8

Please sign in to comment.