Skip to content

Commit c7fbebc

Browse files
committed
feat: add build step for API service in Dockerfile to ensure proper compilation before starting the application
1 parent 62a3c33 commit c7fbebc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Docker/Dockerfile.api

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ RUN pnpm install --frozen-lockfile
1919
# Generate Prisma client
2020
RUN pnpm db:generate
2121

22+
RUN pnpm build --filter=api
23+
2224
CMD ["pnpm", "start", "--filter=api"]

0 commit comments

Comments
 (0)