From 1e35eb3b84a4014e24ca6d31d3d4199e40da0d8f Mon Sep 17 00:00:00 2001 From: "aurian.jault" Date: Mon, 1 Jul 2024 01:03:39 +0200 Subject: [PATCH] g --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8894f0a..90550f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # Stage 1: Compile and Build angular codebase FROM node:latest as build WORKDIR /usr/local/app -COPY ./ /usr/local/app/ +COPY ./ /usr/local/app RUN npm install RUN npm run build @@ -9,5 +9,5 @@ RUN npm run build # Stage 2: Serve app with nginx server FROM nginx:latest COPY --from=build /usr/local/app/dist/portofolio/browser /usr/share/nginx/html - +RUN ls EXPOSE 80