Skip to content

Commit

Permalink
build: update build and start commands to use npm instead of bun
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze committed Dec 25, 2024
1 parent 2a18196 commit 1e08002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ services:
branch: main
plan: starter
region: singapore
buildCommand: bun run install-and-build
startCommand: bunx prisma migrate deploy && bunx prisma generate && bun run start
buildCommand: npm install && npm run build
startCommand: npx prisma migrate deploy && npx prisma generate && npm start
rootDir: web
envVars:
- key: DATABASE_URL
Expand Down
2 changes: 1 addition & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"build": "remix vite:build",
"install-and-build": "rm -rf node_modules bun.lockb && bun install && bun run build",
"install-and-build": "rm -rf node_modules && npm install && npm run build",
"dev": "remix vite:dev --host 0.0.0.0",
"start": "NODE_OPTIONS='--import ./instrumentation.server.mjs' remix-serve ./build/server/index.js",
"typecheck": "tsc --noEmit",
Expand Down

0 comments on commit 1e08002

Please sign in to comment.