From e1454999a777667e9d710a5ec75fedc6d70f08df Mon Sep 17 00:00:00 2001 From: Kyllian Chabanon Date: Mon, 8 Apr 2024 01:37:32 +0200 Subject: [PATCH] Modifications --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 68e28cb..462810e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:latest AS build -WORKDIR /portfolio +WORKDIR /app COPY package.json ./ RUN yarn install @@ -8,4 +8,4 @@ COPY . ./ RUN npm run build FROM nginx:1.19-alpine -COPY --from=build /portfolio/build /usr/share/nginx/html +COPY --from=build /app/build /usr/share/nginx/html