We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b4cab8 commit 329832eCopy full SHA for 329832e
Dockerfile
@@ -2,13 +2,14 @@ FROM node:22-alpine AS builder
2
3
WORKDIR /app
4
5
-# Copy package.json and pnpm-lock.yaml
6
-COPY package.json pnpm-lock.yaml ./
+# Copy workspace configuration and all package.json files
+COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
7
+COPY frontend/package.json ./frontend/
8
9
# Install pnpm
10
RUN corepack enable && corepack prepare pnpm@latest --activate
11
-# Install dependencies
12
+# Install dependencies (including frontend workspace)
13
RUN pnpm install
14
15
# Copy source code
0 commit comments