diff --git a/Dockerfile b/Dockerfile index 40e44bc..cb325c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,20 +1,20 @@ -FROM node:20-alpine AS development-dependencies-env +FROM node:22-alpine AS development-dependencies-env COPY . /app WORKDIR /app RUN npm ci -FROM node:20-alpine AS production-dependencies-env +FROM node:22-alpine AS production-dependencies-env COPY ./package.json package-lock.json .npmrc /app/ WORKDIR /app RUN npm ci --omit=dev -FROM node:20-alpine AS build-env +FROM node:22-alpine AS build-env COPY . /app/ COPY --from=development-dependencies-env /app/node_modules /app/node_modules WORKDIR /app RUN npm run build -FROM node:20-alpine +FROM node:22-alpine COPY ./package.json package-lock.json server.js /app/ diff --git a/package-lock.json b/package-lock.json index 4a83dd7..da1a194 100644 --- a/package-lock.json +++ b/package-lock.json @@ -96,7 +96,7 @@ "vitest": "^1.4.0" }, "engines": { - "node": ">=20" + "node": ">=22" } }, "node_modules/@adobe/css-tools": { diff --git a/package.json b/package.json index 8e64a3d..6677f66 100644 --- a/package.json +++ b/package.json @@ -111,6 +111,6 @@ "vitest": "^1.4.0" }, "engines": { - "node": ">=20" + "node": ">=22" } }