Fix node_modules copy in web Dockerfile builder stage

Copy entire /app directory from deps stage instead of just node_modules to ensure all dependencies and pnpm workspace files are available for the build process.
This commit is contained in:
2026-06-21 10:21:22 +02:00
parent f14fa48e8c
commit c328e56213
+1 -1
View File
@@ -19,7 +19,7 @@ RUN npm install -g pnpm \
fi
FROM base AS builder
COPY --from=deps /app/node_modules /app/node_modules
COPY --from=deps /app /app
COPY . /app
RUN npm install -g pnpm && pnpm --filter @nexadash/web build