diff --git a/backend/Dockerfile b/backend/Dockerfile index a7aaa6b3..91413084 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -17,7 +17,7 @@ RUN npm install --silent # Root tsconfig.json COPY tsconfig.json tsconfig.build.json ./ -COPY backend ./backend +COPY --exclude=backend/tests/ backend ./backend COPY common ./common COPY docs ./docs diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 1ddb8dc0..3b2153e5 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -26,7 +26,7 @@ RUN npm run build --workspace=common WORKDIR /app/dwengo/frontend -COPY frontend ./ +COPY --exclude=frontend/tests/ frontend ./ RUN npx vite build