1
0
Fork 0

fix(helm): seed job esbuild output file path to /app/cache/seed.cjs

This commit is contained in:
Vojtěch Mareš 2023-07-04 19:31:28 +02:00
parent 22ebadf393
commit 060e5a4f14
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -23,7 +23,7 @@ spec:
args: args:
- | - |
npm install esbuild --no-save npm install esbuild --no-save
npx esbuild prisma/seed.ts --outfile=/cache/seed.cjs --bundle --format=cjs --external:prisma --external:@prisma/client --platform=node npx esbuild prisma/seed.ts --outfile=/app/cache/seed.cjs --bundle --format=cjs --external:prisma --external:@prisma/client --platform=node
node /app/cache/seed.cjs node /app/cache/seed.cjs
envFrom: envFrom:
- configMapRef: - configMapRef: