diff --git a/Dockerfile b/Dockerfile index b9cee41..ce11169 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN pnpm --filter @kooltab/api run build RUN pnpm --filter @kooltab/dashboard run build # Compile seed script to JS (needed for production seeding) -RUN npx tsc apps/api/prisma/seed.ts --outDir apps/api/prisma --skipLibCheck --module commonjs --esModuleInterop true --resolveJsonModule true +RUN ./node_modules/.bin/tsc apps/api/prisma/seed.ts --outDir apps/api/prisma --skipLibCheck --module commonjs --esModuleInterop true --resolveJsonModule true # ---- Production API image ---- FROM node:20-alpine AS api