From fe772067dd9e554c44c825f6f0505d64526979bf Mon Sep 17 00:00:00 2001 From: Arnab-Afk Date: Mon, 8 Dec 2025 21:11:03 +0530 Subject: [PATCH] feat: Add Dockerfile for multi-stage build of React application served by Nginx --- client/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/Dockerfile b/client/Dockerfile index f74436b..87c7a48 100644 --- a/client/Dockerfile +++ b/client/Dockerfile @@ -1,9 +1,9 @@ # Stage 1: Build the React application -FROM node:18-alpine as build +FROM node:18-alpine AS build WORKDIR /app -COPY package*.json ./ +COPY package.json ./ RUN npm install COPY . .