Skip to content

Commit 7b5e01b

Browse files
committed
chore(api): replace bunx with npx for Prisma client generation
1 parent 1ec7e3f commit 7b5e01b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/api/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ RUN curl -fsSL https://bun.sh/install | bash \
1818
COPY . .
1919

2020
# Generate Prisma client inside the image (ensures runtime client matches installed deps)
21-
RUN export BUN_INSTALL="/root/.bun" \
22-
&& export PATH="$BUN_INSTALL/bin:$PATH" \
23-
&& bunx prisma generate
21+
RUN npx prisma generate
2422

2523
# Set environment variables
2624
ENV NODE_ENV=production

0 commit comments

Comments
 (0)