Skip to content

Commit 329832e

Browse files
authored
fix: docker build (#163)
1 parent 4b4cab8 commit 329832e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ FROM node:22-alpine AS builder
22

33
WORKDIR /app
44

5-
# Copy package.json and pnpm-lock.yaml
6-
COPY package.json pnpm-lock.yaml ./
5+
# Copy workspace configuration and all package.json files
6+
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
7+
COPY frontend/package.json ./frontend/
78

89
# Install pnpm
910
RUN corepack enable && corepack prepare pnpm@latest --activate
1011

11-
# Install dependencies
12+
# Install dependencies (including frontend workspace)
1213
RUN pnpm install
1314

1415
# Copy source code

0 commit comments

Comments
 (0)