From 8aeef63886402ef190bb3d7dae03a7c3d4d262c2 Mon Sep 17 00:00:00 2001 From: Talon Date: Tue, 12 Aug 2025 03:46:27 +0200 Subject: [PATCH] Update dockerfile for new frontend --- dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dockerfile b/dockerfile index aff7307..0d4d507 100644 --- a/dockerfile +++ b/dockerfile @@ -4,21 +4,21 @@ WORKDIR /usr/src/app FROM base AS install COPY backend/package.json backend/package-lock.json /temp/dev/backend/ -COPY frontend/package.json frontend/package-lock.json /temp/dev/frontend/ +COPY frontend-vue/package.json frontend-vue/package-lock.json /temp/dev/frontend/ RUN cd /temp/dev/backend && npm install RUN cd /temp/dev/frontend && npm install RUN mkdir -p /temp/prod/backend /temp/prod/frontend COPY backend/package.json backend/package-lock.json /temp/prod/backend/ -COPY frontend/package.json frontend/package-lock.json /temp/prod/frontend/ +COPY frontend-vue/package.json frontend-vue/package-lock.json /temp/prod/frontend/ RUN cd /temp/prod/backend && npm install --production RUN cd /temp/prod/frontend && npm install --production FROM install AS build-frontend WORKDIR /usr/src/app/frontend -COPY frontend/ . +COPY frontend-vue/ . COPY --from=install /temp/dev/frontend/node_modules node_modules RUN npm run build