From 4e829748ef377a2cf7100df547b51b4aef0ce008 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 15 Dec 2024 17:58:12 +0000 Subject: [PATCH] chore(deps): update node.js to v22 --- apps/backend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/backend/Dockerfile b/apps/backend/Dockerfile index 71c2b0af..3fb32fd0 100644 --- a/apps/backend/Dockerfile +++ b/apps/backend/Dockerfile @@ -1,5 +1,5 @@ # Install dependencies only when needed -FROM docker.io/node:20-alpine AS deps +FROM docker.io/node:22-alpine AS deps # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. RUN apk add --no-cache libc6-compat WORKDIR /usr/src/app @@ -7,7 +7,7 @@ COPY package*.json ./ RUN npm install --omit=dev # Production image, copy all the files and run nest -FROM docker.io/node:20-alpine AS runner +FROM docker.io/node:22-alpine AS runner RUN apk add --no-cache dumb-init curl postgresql17-client ENV NODE_ENV=production ENV PORT=3000