From 22af3312baca76d188d82a555151d0a297e7468a Mon Sep 17 00:00:00 2001 From: Willem Serruys Date: Wed, 19 Aug 2026 18:51:54 +0200 Subject: [PATCH] fix dockerfile --- energy-management/Dockerfile | 7 ------- 1 file changed, 7 deletions(-) diff --git a/energy-management/Dockerfile b/energy-management/Dockerfile index de1bd06..3fb27d6 100644 --- a/energy-management/Dockerfile +++ b/energy-management/Dockerfile @@ -6,14 +6,8 @@ COPY package.json ./ COPY backend/package.json backend/package.json COPY frontend/package.json frontend/package.json -WORKDIR /repo/backend RUN npm install -WORKDIR /repo/frontend -RUN npm install - -WORKDIR /repo - COPY backend backend COPY frontend frontend RUN npm run build @@ -25,7 +19,6 @@ ENV NODE_ENV=production COPY --from=build /repo/package.json ./package.json COPY --from=build /repo/backend/package.json ./backend/package.json COPY --from=build /repo/node_modules ./node_modules -COPY --from=build /repo/backend/node_modules ./backend/node_modules COPY --from=build /repo/backend/dist ./backend/dist COPY --from=build /repo/frontend/dist ./backend/dist/public