File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ RUN corepack prepare pnpm@latest-10 --activate
66RUN pnpm i
77ADD . /code/
88RUN pnpm bundleNow
9+ RUN pnpm run build
910
1011
1112CMD ["pnpm" , "run" , "startLive" ]
Original file line number Diff line number Diff line change 77 "start" : " tsx --env-file=.env --watch index.ts" ,
88 "test" : " echo \" Error: no test specified\" && exit 1" ,
99 "bundleNow" : " tsx bundleNow.ts" ,
10- "startLive" : " prisma migrate deploy && tsx index.ts" ,
10+ "build" : " tsup index.ts --format esm --clean" ,
11+ "startLive" : " prisma migrate deploy && node dist/index.js" ,
1112 "migrate" : " prisma migrate deploy" ,
1213 "makemigration" : " prisma migrate dev"
1314 },
4748 "devDependencies" : {
4849 "dotenv" : " ^16.4.5" ,
4950 "prisma" : " ^6.1.0" ,
51+ "tsup" : " ^8.5.1" ,
5052 "tsx" : " ^4.11.2" ,
5153 "typescript" : " ^5.4.5"
5254 }
53- }
55+ }
You can’t perform that action at this time.
0 commit comments