From f552cba93a89da8e75503ec5cddf0194885fa513 Mon Sep 17 00:00:00 2001 From: Purexo <5005154+Purexo@users.noreply.github.com> Date: Fri, 17 May 2024 09:38:07 +0200 Subject: [PATCH] fix: docker image node version to build with the same node version than in package.json Refs: https://github.com/ES-Community/bot/issues/98 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8624cb2..2c47fad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM node:20.8.1-bookworm-slim as builder +FROM node:22.1.0-bookworm-slim as builder WORKDIR /app COPY . . RUN npm ci && npm run build -FROM node:20.8.1-bookworm-slim as prod +FROM node:22.1.0-bookworm-slim as prod ENV NODE_ENV production