From 89fa8d682aecaddca0c05972ddbbf3b233313da3 Mon Sep 17 00:00:00 2001 From: Elmar Kresse <18119527+masterElmar@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:39:46 +0200 Subject: [PATCH] fixed paths --- frontend/Dockerfile_prod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/Dockerfile_prod b/frontend/Dockerfile_prod index bc59ca6..43139ef 100644 --- a/frontend/Dockerfile_prod +++ b/frontend/Dockerfile_prod @@ -1,14 +1,14 @@ # build stage FROM node:latest as build-stage WORKDIR /app -COPY frontend/package*.json ./ +COPY package*.json ./ RUN npm ci -COPY frontend/ . +COPY . . RUN npm run build # production stage FROM nginx:stable as production-stage COPY --from=build-stage /app/dist /usr/share/nginx/html -COPY frontend/nginx.conf /etc/nginx/conf.d/default.conf +COPY nginx.conf /etc/nginx/conf.d/default.conf EXPOSE 8000 CMD ["nginx", "-g", "daemon off;"]