diff --git a/Dockerfile b/Dockerfile index d7dd6a4c..935a70d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ---- Base Node with Alpine ---- -FROM node:18.17.1-alpine3.18 AS base +FROM node:20.11.1-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.17.1-alpine3.18 AS release +FROM node:20.11.1-alpine3.18 AS release # Set working directory WORKDIR /app # Copy production node_modules diff --git a/package.json b/package.json index ee1395e6..f7933c58 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" + "node": "^14.18.0 || ^16.13.0 || ^18.12.1 || ^20.0.0" }, "bugs": { "url": "https://github.com/TryGhost/gscan/issues"