diff --git a/Dockerfile b/Dockerfile index ce11169..1f3b557 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 ./node_modules/.bin/tsc apps/api/prisma/seed.ts --outDir apps/api/prisma --skipLibCheck --module commonjs --esModuleInterop true --resolveJsonModule true +RUN pnpm exec 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