From fc3140c2626c02fe23efe31a2b876d1bdf3cd034 Mon Sep 17 00:00:00 2001 From: Mohan Ki Date: Mon, 27 Jul 2026 14:06:26 +0530 Subject: [PATCH] Update Dockerfiles to Node 20 for Next.js compatibility --- api/Dockerfile | 2 +- client/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index 9457cb4..239328e 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18-alpine +FROM node:20-alpine WORKDIR /app diff --git a/client/Dockerfile b/client/Dockerfile index 87db036..e86ee41 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,11 +1,11 @@ -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder WORKDIR /app COPY package*.json ./ RUN npm ci COPY . . RUN npm run build -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner WORKDIR /app ENV NODE_ENV production