Skip to content

Commit f3e3eff

Browse files
committed
Fixed: frontend build and start
1 parent ba804f3 commit f3e3eff

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/frontend/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
],
99
"scripts": {
1010
"dev": "next dev | pino-pretty",
11-
"build": "next build",
12-
"start": "next start",
11+
"build": "next build && cp -r public .next/standalone/apps/frontend && cp -r .next/static .next/standalone/apps/frontend/.next",
12+
"start": "node .next/standalone/apps/frontend/server.js",
1313
"format": "prettier --write .",
1414
"lint": "next lint",
1515
"type-check": "tsc",

0 commit comments

Comments
 (0)