diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..b6f27f13 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/Dockerfile b/Dockerfile index 2feec942..d27b91bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ ARG NOTION_PAGE_ID ARG NEXT_PUBLIC_THEME -FROM node:18-alpine3.18 AS base +FROM node:20-alpine AS base # 1. Install dependencies only when needed FROM base AS deps diff --git a/package.json b/package.json index db1afbb7..9f1773fd 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "4.8.4", "homepage": "https://github.com/tangly1024/NotionNext.git", "license": "MIT", + "engines": { + "node": ">=20" + }, "repository": { "type": "git", "url": "https://github.com/tangly1024/NotionNext.git"