Skip to content

Commit b7abb17

Browse files
refactor: reorganize Dockerfile to improve SDK build process
1 parent e5fec17 commit b7abb17

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ FROM oven/bun:1 AS base
22

33
WORKDIR /app
44

5+
# Copy package files and local SDK workspace
56
COPY package.json bun.lock ./
7+
COPY sdk ./sdk
68

9+
# Build SDK first
10+
RUN cd sdk && bun install && bun run build && cd ..
11+
12+
# Install main app dependencies
713
RUN bun install --frozen-lockfile
814

915
COPY . .

0 commit comments

Comments
 (0)