Add ability to set listening port using environment variables
parent
69c19a90bc
commit
c1d2a781f2
|
@ -12,7 +12,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "npm-run-all build-tracker compile-lang copy-db-schema build-db-client build-app",
|
"build": "npm-run-all build-tracker compile-lang copy-db-schema build-db-client build-app",
|
||||||
"start": "next start",
|
"start": "next start -p ${PORT-3000}",
|
||||||
"build-app": "next build",
|
"build-app": "next build",
|
||||||
"build-tracker": "rollup -c rollup.tracker.config.js",
|
"build-tracker": "rollup -c rollup.tracker.config.js",
|
||||||
"copy-db-schema": "node scripts/copy-db-schema.js",
|
"copy-db-schema": "node scripts/copy-db-schema.js",
|
||||||
|
|
Loading…
Reference in New Issue