Skip to content

Commit e59dc63

Browse files
github-actions[bot]tofikwestMarfuen
authored
[dev] [tofikwest] tofik/fix-buildspec-spaces (#1937)
* chore(api): simplify docker build command in buildspec * chore(api): update Dockerfile to use bunx for NestJS build --------- Co-authored-by: Tofik Hasanov <[email protected]> Co-authored-by: Mariano Fuentes <[email protected]>
1 parent 3f1f9d9 commit e59dc63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/api/Dockerfile.multistage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ RUN cd packages/db && node scripts/combine-schemas.js && cd ../..
4848
RUN cp packages/db/dist/schema.prisma apps/api/prisma/schema.prisma
4949
RUN cd apps/api && bunx prisma generate
5050

51-
# Build NestJS application
52-
RUN cd apps/api && bun run build
51+
# Build NestJS application (skip prebuild since we already generated Prisma)
52+
RUN cd apps/api && bunx nest build
5353

5454
# =============================================================================
5555
# STAGE 3: Production Runtime

0 commit comments

Comments
 (0)