PVPPRO commited on
Commit
2442fed
·
verified ·
1 Parent(s): 2cdf0ea

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -17,9 +17,9 @@ COPY . .
17
  # 6. Install dependencies
18
  RUN pnpm install --frozen-lockfile
19
 
20
- # 7. BUILD LIBRARIES FIRST (This fixes the TS6305 error)
21
- # This tells pnpm to find all packages in the 'lib' folder and build them
22
- RUN pnpm -r --filter "./lib/**" run build
23
 
24
  # 8. Now build the rest of the project
25
  RUN pnpm run build
 
17
  # 6. Install dependencies
18
  RUN pnpm install --frozen-lockfile
19
 
20
+ # 7. BUILD LIBRARIES using your existing script
21
+ # This runs 'tsc --build' which builds lib/db, lib/api-zod, etc. in order
22
+ RUN pnpm run typecheck:libs
23
 
24
  # 8. Now build the rest of the project
25
  RUN pnpm run build