From 91c29ce03c785cc460f0a51cc86b5f8d082e2005 Mon Sep 17 00:00:00 2001 From: sarithapillai8 <63710347+sarithapillai8@users.noreply.github.com> Date: Thu, 17 Oct 2024 13:43:45 +0530 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e96661a3..f28e2a66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16.0 +FROM node:20.11 WORKDIR /usr/src/app COPY package*.json ./ RUN npm install -g npm@8.1.4 @@ -8,4 +8,4 @@ RUN npm run build FROM nginx:alpine COPY --from=0 /usr/src/app/build/ /usr/share/nginx/html EXPOSE 80 -CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file +CMD ["nginx", "-g", "daemon off;"]