From 13db66fe834b04fa1dc9c7e04eab07240c90a012 Mon Sep 17 00:00:00 2001 From: Vahan Yeranosyan Date: Sat, 18 Nov 2023 10:37:46 +0400 Subject: [PATCH] fix dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f31314c..1e1f19e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,12 @@ # Build stage -FROM node:20.9 as react +FROM node:20.9 as build-stage WORKDIR /app COPY package*.json ./ RUN npm install COPY . . RUN npm run build - +RUN ls -lah /app +RUN echo "What is this" # Production stage FROM nginx:stable-alpine as production-stage COPY --from=build-stage /app/public /usr/share/nginx/html