diff --git a/Dockerfile b/Dockerfile index 5e514abc..b1df5f6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ---- Base Node with Alpine ---- -FROM node:18.20.3-alpine3.18 AS base +FROM node:22.2.0-alpine3.18 AS base # Set working directory in the container WORKDIR /app # Copy package.json and yarn.lock files to the workspace @@ -16,7 +16,7 @@ RUN cp -R node_modules prod_node_modules RUN yarn install --frozen-lockfile # ---- Release ---- -FROM node:18.20.3-alpine3.18 AS release +FROM node:22.2.0-alpine3.18 AS release # Set working directory WORKDIR /app # Copy production node_modules diff --git a/package.json b/package.json index b05c96c4..bc9c6924 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "registry": "https://registry.npmjs.org/" }, "engines": { - "node": "^14.18.0 || ^16.13.0 || ^18.12.1 || ^20.11.1" + "node": "^14.18.0 || ^16.13.0 || ^18.12.1 || ^20.11.1 || ^22.0.0" }, "bugs": { "url": "https://github.com/TryGhost/gscan/issues"